diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-24 16:46:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-24 16:46:47 +0200 |
commit | aa2713da116ef8bdde43752e8abed9f2e568d57c (patch) | |
tree | 77e4bb3481f8f8f8d90607388c6e9265857001d7 | |
parent | e2d759fce9ff5e5886064ec693af54fe598773ff (diff) |
Update for new build2
-rw-r--r-- | build/bootstrap.build | 1 | ||||
-rw-r--r-- | build/root.build | 7 | ||||
-rw-r--r-- | tests/dir-iterator/buildfile | 1 |
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/ |