diff options
Diffstat (limited to 'tests/test/generated')
-rw-r--r-- | tests/test/generated/build/bootstrap.build | 4 | ||||
-rw-r--r-- | tests/test/generated/buildfile | 9 | ||||
-rw-r--r-- | tests/test/generated/driver.cxx | 24 | ||||
-rw-r--r-- | tests/test/generated/utility.cxx | 1 |
4 files changed, 0 insertions, 38 deletions
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 <iostream> -#include <fstream> - -using namespace std; - -int -main (int argc, char* argv[]) -{ - if (argc != 2) - { - cerr << "usage: " << argv[0] << " <file>" << 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 () {} |