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/ --- tests/test/generated/build/bootstrap.build | 4 ---- tests/test/generated/buildfile | 9 --------- tests/test/generated/driver.cxx | 24 ------------------------ tests/test/generated/utility.cxx | 1 - tests/test/simple/build/bootstrap.build | 4 ---- tests/test/simple/buildfile | 12 ------------ tests/test/simple/driver.cxx | 14 -------------- tests/test/simple/test.out | 1 - tests/test/simple/utility.cxx | 1 - 9 files changed, 70 deletions(-) delete mode 100644 tests/test/generated/build/bootstrap.build delete mode 100644 tests/test/generated/buildfile delete mode 100644 tests/test/generated/driver.cxx delete mode 100644 tests/test/generated/utility.cxx delete mode 100644 tests/test/simple/build/bootstrap.build delete mode 100644 tests/test/simple/buildfile delete mode 100644 tests/test/simple/driver.cxx delete mode 100644 tests/test/simple/test.out delete mode 100644 tests/test/simple/utility.cxx (limited to 'tests/test') diff --git a/tests/test/generated/build/bootstrap.build b/tests/test/generated/build/bootstrap.build deleted file mode 100644 index 5428eb8..0000000 --- a/tests/test/generated/build/bootstrap.build +++ /dev/null @@ -1,4 +0,0 @@ -project = test-generated -amalgamation = # Disabled. -using config -using test diff --git a/tests/test/generated/buildfile b/tests/test/generated/buildfile deleted file mode 100644 index aacca8b..0000000 --- a/tests/test/generated/buildfile +++ /dev/null @@ -1,9 +0,0 @@ -# Test generated input. -# -using cxx - -exe{utility}: cxx{utility} -exe{driver}: cxx{driver} -exe{driver}: test.input = exe{utility} - -./: exe{driver} diff --git a/tests/test/generated/driver.cxx b/tests/test/generated/driver.cxx deleted file mode 100644 index 008dbf7..0000000 --- a/tests/test/generated/driver.cxx +++ /dev/null @@ -1,24 +0,0 @@ -#include -#include - -using namespace std; - -int -main (int argc, char* argv[]) -{ - if (argc != 2) - { - cerr << "usage: " << argv[0] << " " << endl; - return 1; - } - - ifstream ifs (argv[1], ifstream::in | ifstream::binary | ifstream::ate); - - if (!ifs.is_open ()) - cerr << "unable to open " << argv[1] << endl; - - if (ifs.tellg () == 0) - cerr << argv[1] << " is empty" << endl; - - return 0; -} diff --git a/tests/test/generated/utility.cxx b/tests/test/generated/utility.cxx deleted file mode 100644 index ca2ac4a..0000000 --- a/tests/test/generated/utility.cxx +++ /dev/null @@ -1 +0,0 @@ -int main () {} diff --git a/tests/test/simple/build/bootstrap.build b/tests/test/simple/build/bootstrap.build deleted file mode 100644 index 0b7a347..0000000 --- a/tests/test/simple/build/bootstrap.build +++ /dev/null @@ -1,4 +0,0 @@ -project = test-simple -amalgamation = # Disabled. -using config -using test diff --git a/tests/test/simple/buildfile b/tests/test/simple/buildfile deleted file mode 100644 index 569c12c..0000000 --- a/tests/test/simple/buildfile +++ /dev/null @@ -1,12 +0,0 @@ -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/tests/test/simple/driver.cxx b/tests/test/simple/driver.cxx deleted file mode 100644 index 3753821..0000000 --- a/tests/test/simple/driver.cxx +++ /dev/null @@ -1,14 +0,0 @@ -#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/tests/test/simple/test.out b/tests/test/simple/test.out deleted file mode 100644 index 5d63fab..0000000 --- a/tests/test/simple/test.out +++ /dev/null @@ -1 +0,0 @@ -test is running (stdout) diff --git a/tests/test/simple/utility.cxx b/tests/test/simple/utility.cxx deleted file mode 100644 index c4bb446..0000000 --- a/tests/test/simple/utility.cxx +++ /dev/null @@ -1 +0,0 @@ -void f (){} -- cgit v1.1