summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ctor/buildfile6
-rw-r--r--tests/erase/buildfile6
-rw-r--r--tests/file/buildfile7
-rw-r--r--tests/inheritance/buildfile7
-rw-r--r--tests/specifier/buildfile7
5 files changed, 10 insertions, 23 deletions
diff --git a/tests/ctor/buildfile b/tests/ctor/buildfile
index 83e2bbe..68ea10e 100644
--- a/tests/ctor/buildfile
+++ b/tests/ctor/buildfile
@@ -2,10 +2,8 @@
# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
-exe{driver}: cxx{driver} {hxx ixx cxx}{test}
+exe{driver}: cxx{driver} cli.cxx{test}
cxx.poptions =+ "-I$out_base"
-# Generated options parser.
-#
-{hxx ixx cxx}{test}: cli{test}
+cli.cxx{test}: cli{test}
diff --git a/tests/erase/buildfile b/tests/erase/buildfile
index 6030372..fb58d5a 100644
--- a/tests/erase/buildfile
+++ b/tests/erase/buildfile
@@ -2,11 +2,9 @@
# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
-exe{driver}: cxx{driver} {hxx ixx cxx}{test}
+exe{driver}: cxx{driver} cli.cxx{test}
exe{driver}: test.arguments = foo -a bar -b 123 --arg -- -b 234
cxx.poptions =+ "-I$out_base"
-# Generated options parser.
-#
-{hxx ixx cxx}{test}: cli{test}
+cli.cxx{test}: cli{test}
diff --git a/tests/file/buildfile b/tests/file/buildfile
index 8183d79..45ba0c6 100644
--- a/tests/file/buildfile
+++ b/tests/file/buildfile
@@ -2,12 +2,9 @@
# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
-exe{driver}: cxx{driver} {hxx ixx cxx}{test} test{testscript}
+exe{driver}: cxx{driver} cli.cxx{test} test{testscript}
cxx.poptions =+ "-I$out_base"
-# Generated options parser.
-#
-{hxx ixx cxx}{test}: cli{test}
-
+cli.cxx{test}: cli{test}
cli.options = --generate-file-scanner
diff --git a/tests/inheritance/buildfile b/tests/inheritance/buildfile
index a0a2e8b..baade2d 100644
--- a/tests/inheritance/buildfile
+++ b/tests/inheritance/buildfile
@@ -2,14 +2,11 @@
# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
-exe{driver}: cxx{driver} {hxx ixx cxx}{test}
+exe{driver}: cxx{driver} cli.cxx{test}
exe{driver}: test.arguments = --very-long-flag -s short -i 123 --string long
exe{driver}: test.output = test.std
cxx.poptions =+ "-I$out_base"
-# Generated options parser.
-#
-{hxx ixx cxx}{test}: cli{test}
-
+cli.cxx{test}: cli{test}
cli.options = --generate-description --option-length 17
diff --git a/tests/specifier/buildfile b/tests/specifier/buildfile
index fdba651..364792c 100644
--- a/tests/specifier/buildfile
+++ b/tests/specifier/buildfile
@@ -2,13 +2,10 @@
# copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
-exe{driver}: cxx{driver} {hxx ixx cxx}{test}
+exe{driver}: cxx{driver} cli.cxx{test}
exe{driver}: test.arguments = -a -c foo
cxx.poptions =+ "-I$out_base"
-# Generated options parser.
-#
-{hxx ixx cxx}{test}: cli{test}
-
+cli.cxx{test}: cli{test}
cli.options = --generate-specifier --generate-modifier