summaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-08-03 11:26:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-08-03 11:27:50 +0300
commita8eeaf381091b9b48b0cad5ea16944947b7bf2a2 (patch)
treec7d8bb2f48d9acc63b1f221418c0e6d4d70a4556 /build/root.build
parente38e6da9c490e185fa6b8b65177a760d338a4551 (diff)
Set test variable to true for unit-tests/exe{*} in root.build
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/root.build b/build/root.build
index fc8c83c..c59703b 100644
--- a/build/root.build
+++ b/build/root.build
@@ -21,8 +21,10 @@ cxx.poptions =+ "-I$out_root" "-I$src_root"
#
using? cli
-# Don't link whole archives by default in unit-tests/.
+# All exe{} in unit-tests/ are, well, tests. Also don't link whole archives
+# by default there.
#
+unit-tests/exe{*}: test = true
unit-tests/libu{*}: bin.whole = false
# Specify the test target for cross-testing.