aboutsummaryrefslogtreecommitdiff
path: root/old-tests
diff options
context:
space:
mode:
Diffstat (limited to 'old-tests')
-rw-r--r--old-tests/test/generated/buildfile3
-rw-r--r--old-tests/test/generated/driver.cxx2
-rw-r--r--old-tests/test/generated/test.out1
3 files changed, 5 insertions, 1 deletions
diff --git a/old-tests/test/generated/buildfile b/old-tests/test/generated/buildfile
index aacca8b..d3fbc20 100644
--- a/old-tests/test/generated/buildfile
+++ b/old-tests/test/generated/buildfile
@@ -4,6 +4,7 @@ using cxx
exe{utility}: cxx{utility}
exe{driver}: cxx{driver}
-exe{driver}: test.input = exe{utility}
+exe{driver}: test.input = exe{utility} # Update test.
+exe{driver}: test.output = file{test.out} # Dist test.
./: exe{driver}
diff --git a/old-tests/test/generated/driver.cxx b/old-tests/test/generated/driver.cxx
index 008dbf7..f674141 100644
--- a/old-tests/test/generated/driver.cxx
+++ b/old-tests/test/generated/driver.cxx
@@ -20,5 +20,7 @@ main (int argc, char* argv[])
if (ifs.tellg () == 0)
cerr << argv[1] << " is empty" << endl;
+ cout << "output" << endl;
+
return 0;
}
diff --git a/old-tests/test/generated/test.out b/old-tests/test/generated/test.out
new file mode 100644
index 0000000..53752db
--- /dev/null
+++ b/old-tests/test/generated/test.out
@@ -0,0 +1 @@
+output