From bb4f9e6498ba715911f83e0dc221a5b1b86baf51 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 24 Jul 2015 10:32:50 +0200 Subject: Further test module development --- tests/test/simple/buildfile | 6 ++++-- tests/test/simple/driver.cxx | 6 +++--- tests/test/simple/test.out | 1 + tests/test/simple/test.std | 1 - 4 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 tests/test/simple/test.out delete mode 100644 tests/test/simple/test.std (limited to 'tests') diff --git a/tests/test/simple/buildfile b/tests/test/simple/buildfile index 518b672..3b3598a 100644 --- a/tests/test/simple/buildfile +++ b/tests/test/simple/buildfile @@ -5,9 +5,11 @@ cxx.ext = cxx lib{utility}: cxx{utility} exe{driver}: cxx{driver} #lib{utility} -exe{driver}: test = true -test.exe = false +#exe{driver}: test.roundtrip = test.out + +test.exe = true +test.exe.output = test.out .: lib{utility} exe{driver} #.: exe{driver} diff --git a/tests/test/simple/driver.cxx b/tests/test/simple/driver.cxx index 3753821..26d1d51 100644 --- a/tests/test/simple/driver.cxx +++ b/tests/test/simple/driver.cxx @@ -7,8 +7,8 @@ int main () { cerr << "test is running (stderr)" << endl; - //assert (false); + assert (false); cout << "test is running (stdout)" << endl; - return 0; - //return 1; + //return 0; + return 1; } diff --git a/tests/test/simple/test.out b/tests/test/simple/test.out new file mode 100644 index 0000000..5d63fab --- /dev/null +++ b/tests/test/simple/test.out @@ -0,0 +1 @@ +test is running (stdout) diff --git a/tests/test/simple/test.std b/tests/test/simple/test.std deleted file mode 100644 index 5d63fab..0000000 --- a/tests/test/simple/test.std +++ /dev/null @@ -1 +0,0 @@ -test is running (stdout) -- cgit v1.1