aboutsummaryrefslogtreecommitdiff
path: root/tests/recipe/cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-14 20:00:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-12-14 20:00:23 +0300
commit8c9b0fb944a60d8193d8ac3dbac4e8e15f81bf57 (patch)
tree556517051285a4306d18a94934c746ea27e4df8c /tests/recipe/cxx
parent316092bf365d066ccc0eeb5c81b9080c7d7f3572 (diff)
Make use of export testscript builtin
Diffstat (limited to 'tests/recipe/cxx')
-rw-r--r--tests/recipe/cxx/testscript12
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).