diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-03 15:47:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-03 15:47:47 +0200 |
commit | 2152522277ee38633df5f36ac93d3ea5cf316c32 (patch) | |
tree | 6066584c33c5416b0ce523913eda0292e7f170f5 /tests | |
parent | 93df04a720c61edc85f1392e891196a1397288ae (diff) |
Rework build2 cli compilation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ctor/buildfile | 6 | ||||
-rw-r--r-- | tests/erase/buildfile | 6 | ||||
-rw-r--r-- | tests/file/buildfile | 7 | ||||
-rw-r--r-- | tests/inheritance/buildfile | 7 | ||||
-rw-r--r-- | tests/specifier/buildfile | 7 |
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 |