aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-07-24 16:46:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-07-24 16:46:47 +0200
commitaa2713da116ef8bdde43752e8abed9f2e568d57c (patch)
tree77e4bb3481f8f8f8d90607388c6e9265857001d7
parente2d759fce9ff5e5886064ec693af54fe598773ff (diff)
Update for new build2
-rw-r--r--build/bootstrap.build1
-rw-r--r--build/root.build7
-rw-r--r--tests/dir-iterator/buildfile1
3 files changed, 9 insertions, 0 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 4dd58c5..199bd03 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -4,3 +4,4 @@
project = libbutl
using config
+using test
diff --git a/build/root.build b/build/root.build
index 10922ee..4f10ff1 100644
--- a/build/root.build
+++ b/build/root.build
@@ -10,3 +10,10 @@ txx.ext = txx
cxx.ext = cxx
cxx.std = 14
+
+# All exe{} in tests/ are, well, tests.
+#
+tests/:
+{
+ test.exe = true
+}
diff --git a/tests/dir-iterator/buildfile b/tests/dir-iterator/buildfile
index fabea4d..80fc2aa 100644
--- a/tests/dir-iterator/buildfile
+++ b/tests/dir-iterator/buildfile
@@ -3,5 +3,6 @@
# license : MIT; see accompanying LICENSE file
exe{driver}: cxx{driver} ../../butl/lib{butl}
+exe{driver}: test.arguments = $src_root
include ../../butl/