diff options
-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/ |