aboutsummaryrefslogtreecommitdiff
path: root/tests/test/simple
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/simple')
-rw-r--r--tests/test/simple/buildfile5
-rw-r--r--tests/test/simple/driver.cxx10
-rw-r--r--tests/test/simple/test.std1
3 files changed, 15 insertions, 1 deletions
diff --git a/tests/test/simple/buildfile b/tests/test/simple/buildfile
index 6113968..518b672 100644
--- a/tests/test/simple/buildfile
+++ b/tests/test/simple/buildfile
@@ -4,7 +4,10 @@ hxx.ext = hxx
cxx.ext = cxx
lib{utility}: cxx{utility}
-exe{driver}: cxx{driver} lib{utility}
+exe{driver}: cxx{driver} #lib{utility}
exe{driver}: test = true
+test.exe = false
+
.: lib{utility} exe{driver}
+#.: exe{driver}
diff --git a/tests/test/simple/driver.cxx b/tests/test/simple/driver.cxx
index 70b4146..3753821 100644
--- a/tests/test/simple/driver.cxx
+++ b/tests/test/simple/driver.cxx
@@ -1,4 +1,14 @@
+#include <iostream>
+#include <cassert>
+
+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.std b/tests/test/simple/test.std
new file mode 100644
index 0000000..5d63fab
--- /dev/null
+++ b/tests/test/simple/test.std
@@ -0,0 +1 @@
+test is running (stdout)