From aa2713da116ef8bdde43752e8abed9f2e568d57c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 24 Jul 2015 16:46:47 +0200 Subject: Update for new build2 --- build/bootstrap.build | 1 + build/root.build | 7 +++++++ tests/dir-iterator/buildfile | 1 + 3 files changed, 9 insertions(+) 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/ -- cgit v1.1