summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-19 20:15:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-19 20:15:09 +0300
commit030355009a538b7002b9308cd30afbbb00c6c134 (patch)
tree6ccb98858d957604b001bcf71dc1db9f0da6dedf
parentb5d8062bd651e796bac77ae580e0e45947374a89 (diff)
Specify test.target
-rw-r--r--examples/build/root.build4
-rw-r--r--tests/build/root.build4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/build/root.build b/examples/build/root.build
index 4b34cf5..7cee286 100644
--- a/examples/build/root.build
+++ b/examples/build/root.build
@@ -25,3 +25,7 @@ using cli
# Every exe{} in this subproject is by default a test.
#
exe{*}: test = true
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target
diff --git a/tests/build/root.build b/tests/build/root.build
index 7d48f08..c160f42 100644
--- a/tests/build/root.build
+++ b/tests/build/root.build
@@ -25,3 +25,7 @@ using cli
# Every exe{} in this subproject is by default a test.
#
exe{*}: test = true
+
+# Specify the test target for cross-testing.
+#
+test.target = $cxx.target