aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-12 14:09:36 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-12 14:55:45 +0300
commitae0205a089b02a38acf5beae9fa75664040fc27a (patch)
treee128a32083a5fe4f10512e27022b4e1c615b4759 /unit-tests/test/script
parent7a141264e858c98053367910c6300c79de7bdb98 (diff)
Make use of wildcards in buildfiles
Diffstat (limited to 'unit-tests/test/script')
-rw-r--r--unit-tests/test/script/lexer/buildfile6
-rw-r--r--unit-tests/test/script/parser/buildfile7
-rw-r--r--unit-tests/test/script/regex/buildfile3
3 files changed, 6 insertions, 10 deletions
diff --git a/unit-tests/test/script/lexer/buildfile b/unit-tests/test/script/lexer/buildfile
index a21df7a..efc5a9c 100644
--- a/unit-tests/test/script/lexer/buildfile
+++ b/unit-tests/test/script/lexer/buildfile
@@ -12,9 +12,7 @@ functions-regex functions-string functions-target-triplet algorithm search \
dump filesystem scheduler config/{utility init operation module} \
test/script/{token lexer} spec
-exe{driver}: cxx{driver} ../../../../build2/cxx{$src} \
-../../../../build2/liba{b} $libs \
-test{command-line first-token second-token command-expansion variable-line \
- description-line variable}
+exe{driver}: cxx{*} ../../../../build2/cxx{$src} ../../../../build2/liba{b} \
+ $libs test{*}
include ../../../../build2/
diff --git a/unit-tests/test/script/parser/buildfile b/unit-tests/test/script/parser/buildfile
index 184fd82..e0d74df 100644
--- a/unit-tests/test/script/parser/buildfile
+++ b/unit-tests/test/script/parser/buildfile
@@ -13,10 +13,7 @@ functions-target-triplet config/{utility init operation module} dump \
types-parsers test/{target script/{token lexer parser regex script}} \
scheduler spec
-exe{driver}: cxx{driver} ../../../../build2/cxx{$src} \
-../../../../build2/liba{b} $libs \
-test{cleanup command-if command-re-parse description directive exit \
- expansion here-document here-string include pipe-expr pre-parse \
- redirect regex scope scope-if setup-teardown}
+exe{driver}: cxx{*} ../../../../build2/cxx{$src} ../../../../build2/liba{b} \
+ $libs test{*}
include ../../../../build2/
diff --git a/unit-tests/test/script/regex/buildfile b/unit-tests/test/script/regex/buildfile
index 89f1bc5..df0bf28 100644
--- a/unit-tests/test/script/regex/buildfile
+++ b/unit-tests/test/script/regex/buildfile
@@ -7,6 +7,7 @@
import libs = libbutl%lib{butl}
src = test/script/regex
-exe{driver}: cxx{driver} ../../../../build2/cxx{$src} ../../../../build2/liba{b} $libs
+exe{driver}: cxx{*} ../../../../build2/cxx{$src} ../../../../build2/liba{b} \
+ $libs
include ../../../../build2/