aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-build.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-04-04 15:55:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-04-06 18:51:49 +0300
commit0fb8758d42047c9de9fef2bd34852e80d3ac9a99 (patch)
tree005262473fb522f96da96f1716fd8d7c44a2d501 /tests/pkg-build.testscript
parent5631205edf682629d1d34634025bdfa2191e6a4f (diff)
Make use of project configuration variables for tests
Diffstat (limited to 'tests/pkg-build.testscript')
-rw-r--r--tests/pkg-build.testscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript
index c0bac41..d1cfb91 100644
--- a/tests/pkg-build.testscript
+++ b/tests/pkg-build.testscript
@@ -120,7 +120,7 @@
# Prepare repositories used by tests if running in the local mode.
#
-+if ($remote != true)
++if! $remote
rep_create += 2>!
cp -r $src/t0a $out/t0a && $rep_create $out/t0a &$out/t0a/packages.manifest
@@ -3320,7 +3320,7 @@ test.options += --no-progress
{
$clone_root_cfg;
- if ($remote != true)
+ if! $remote
rep = ($cxx.target.class != 'windows' \
? "file:$rep" \
: "file:/$regex.replace($rep, '\\', '/')")
@@ -3782,7 +3782,7 @@ test.options += --no-progress
: git-rep
:
-if ($git_supported != true)
+if! $git_supported
{
# Skip git repository tests.
#
@@ -3857,7 +3857,7 @@ else
: Test that the unpacked external package is properly built for the first
: time and is not rebuilt afterwards via the directory argument.
:
- if ($remote != true)
+ if! $remote
{
$clone_root_cfg;