diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-02 15:04:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-02-02 15:04:41 +0200 |
commit | c4dff7ac9f2dd109fb84dfc74d93125f7aa23567 (patch) | |
tree | ad170eecd6ab2c3517b41f4776956797e73d1c8f | |
parent | 9e5a6e866cad052f0e5e9930d460f92568485f3e (diff) |
Adjust tests to new test rule semantics
-rw-r--r-- | examples/file/buildfile | 5 | ||||
-rw-r--r-- | tests/inheritance/buildfile | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/examples/file/buildfile b/examples/file/buildfile index 3190cca..374356b 100644 --- a/examples/file/buildfile +++ b/examples/file/buildfile @@ -2,8 +2,9 @@ # copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file -exe{driver}: {hxx cxx}{* -options} cli.cxx{options} doc{README} file{test.ops} -exe{driver}: test.arguments = --options-file $src_base/test.ops +exe{driver}: {hxx cxx}{* -options} cli.cxx{options} doc{README} +exe{driver}: test.arguments = --options-file +exe{driver}: file{test.ops}: test.input = true # Added after test.arguments. cxx.poptions =+ "-I$out_base" diff --git a/tests/inheritance/buildfile b/tests/inheritance/buildfile index 748be5a..30ab13e 100644 --- a/tests/inheritance/buildfile +++ b/tests/inheritance/buildfile @@ -1,10 +1,10 @@ -# file : tests/erase/buildfile +# file : tests/inheritance/buildfile # copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file exe{driver}: {hxx cxx}{* -test} cli.cxx{test} +exe{driver}: file{test.std}: test.stdout = true exe{driver}: test.arguments = --very-long-flag -s short -i 123 --string long -exe{driver}: test.output = test.std cxx.poptions =+ "-I$out_base" |