From c4dff7ac9f2dd109fb84dfc74d93125f7aa23567 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 2 Feb 2018 15:04:41 +0200 Subject: Adjust tests to new test rule semantics --- examples/file/buildfile | 5 +++-- 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" -- cgit v1.1