aboutsummaryrefslogtreecommitdiff
path: 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 /build
parent9f5c4c1ae3bff517eefb39130287016514fb31c7 (diff)
Implement test.target variable
The plan is to use it for the portable path conversions.
Diffstat (limited to 'build')
-rw-r--r--build/root.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index 57f70ac..78e3abd 100644
--- a/build/root.build
+++ b/build/root.build
@@ -31,3 +31,7 @@ if! $cli.configured
#
tests/exe{*}: test = true
unit-tests/exe{*}: test = true
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target