diff options
Diffstat (limited to 'tests/recipe')
-rw-r--r-- | tests/recipe/cxx/testscript | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/recipe/cxx/testscript b/tests/recipe/cxx/testscript index 6b11c0f..323e049 100644 --- a/tests/recipe/cxx/testscript +++ b/tests/recipe/cxx/testscript @@ -26,6 +26,8 @@ if (!$static && $test.target == $build.host) }} EOI + +export BDEP_SYNC=0 + : update-clean : { @@ -89,7 +91,7 @@ if (!$static && $test.target == $build.host) }} EOI - env BDEP_SYNC=0 -- $* 2>>~%EOE%; + $* 2>>~%EOE%; %^(c\+\+|ld).*%+ cp file{foo} EOE @@ -98,9 +100,9 @@ if (!$static && $test.target == $build.host) # While at it, make sure there is no rebuild. # - env BDEP_SYNC=0 -- $* 2>/'info: dir{./} is up to date'; + $* 2>/'info: dir{./} is up to date'; - env BDEP_SYNC=0 -- $* clean 2>- + $* clean 2>- } : test @@ -153,14 +155,14 @@ if (!$static && $test.target == $build.host) }} EOI - env BDEP_SYNC=0 -- $* test 2>>~%EOE%; + $* test 2>>~%EOE%; %^(c\+\+|ld).*%+ cp file{foo} test file{foo} bar EOE - env BDEP_SYNC=0 -- $* clean 2>- + $* clean 2>- } # Clean recipe builds if the testscript is enabled (see above for details). |