aboutsummaryrefslogtreecommitdiff
path: root/tests/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-26 17:24:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-26 18:04:22 +0200
commit4a23b4cdf3102a8fef8ac6ebd8a884cd613c28ee (patch)
tree9fdd028cddde76ea4037c55fd7430950a0d05dd5 /tests/build
parent4177d70e63893d0a2c76beb9166ebbf79c4697a0 (diff)
Implement auto-import of development build2 build
Diffstat (limited to 'tests/build')
-rw-r--r--tests/build/root.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/build/root.build b/tests/build/root.build
index 5398bf8..43d3607 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -16,8 +16,11 @@ if ($cxx.class == 'msvc')
}
# Setup the build system driver that we are testing (which may not be the same
-# as our $build.path).
+# as our $build.path). We also need to disable importation using the built-in
+# path.
#
+import.build2 = [null]
+
import b = build2%exe{b}
testscript{*}: test = $b