From 0ed86c76239d4f2904ea4ae1a77902a9e0db2a6d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Dec 2016 12:07:18 +0200 Subject: Move old tests to old-tests/ --- old-tests/test/simple/build/bootstrap.build | 4 ++++ old-tests/test/simple/buildfile | 12 ++++++++++++ old-tests/test/simple/driver.cxx | 14 ++++++++++++++ old-tests/test/simple/test.out | 1 + old-tests/test/simple/utility.cxx | 1 + 5 files changed, 32 insertions(+) create mode 100644 old-tests/test/simple/build/bootstrap.build create mode 100644 old-tests/test/simple/buildfile create mode 100644 old-tests/test/simple/driver.cxx create mode 100644 old-tests/test/simple/test.out create mode 100644 old-tests/test/simple/utility.cxx (limited to 'old-tests/test/simple') diff --git a/old-tests/test/simple/build/bootstrap.build b/old-tests/test/simple/build/bootstrap.build new file mode 100644 index 0000000..0b7a347 --- /dev/null +++ b/old-tests/test/simple/build/bootstrap.build @@ -0,0 +1,4 @@ +project = test-simple +amalgamation = # Disabled. +using config +using test diff --git a/old-tests/test/simple/buildfile b/old-tests/test/simple/buildfile new file mode 100644 index 0000000..569c12c --- /dev/null +++ b/old-tests/test/simple/buildfile @@ -0,0 +1,12 @@ +using cxx + +lib{utility}: cxx{utility} +exe{driver}: cxx{driver} #lib{utility} + +#exe{driver}: test.roundtrip = test.out + +exe{*}: test = true +exe{*}: test.output = test.out + +./: lib{utility} exe{driver} +#./: exe{driver} diff --git a/old-tests/test/simple/driver.cxx b/old-tests/test/simple/driver.cxx new file mode 100644 index 0000000..3753821 --- /dev/null +++ b/old-tests/test/simple/driver.cxx @@ -0,0 +1,14 @@ +#include +#include + +using namespace std; + +int +main () +{ + cerr << "test is running (stderr)" << endl; + //assert (false); + cout << "test is running (stdout)" << endl; + return 0; + //return 1; +} diff --git a/old-tests/test/simple/test.out b/old-tests/test/simple/test.out new file mode 100644 index 0000000..5d63fab --- /dev/null +++ b/old-tests/test/simple/test.out @@ -0,0 +1 @@ +test is running (stdout) diff --git a/old-tests/test/simple/utility.cxx b/old-tests/test/simple/utility.cxx new file mode 100644 index 0000000..c4bb446 --- /dev/null +++ b/old-tests/test/simple/utility.cxx @@ -0,0 +1 @@ +void f (){} -- cgit v1.1