summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to '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.