aboutsummaryrefslogtreecommitdiff
path: root/tests/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-09 15:40:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-09 15:40:05 +0200
commit1a46a0a1c3b0b463e13c46550998a3df1db0fdbe (patch)
treea0ac3a3d1bad08842fdc8d09a9978b722e8a813f /tests/build/root.build
parent9f5c4c1ae3bff517eefb39130287016514fb31c7 (diff)
Implement test.target variable
The plan is to use it for the portable path conversions.
Diffstat (limited to 'tests/build/root.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 2792187..1903c41 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -13,5 +13,8 @@ cxx{*}: extension = cxx
# as our $build.path).
#
import b = build2%exe{b}
-
dir{*}: test = $b
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target