aboutsummaryrefslogtreecommitdiff
path: root/old-tests/dist/simple
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-01 12:07:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-01 12:07:18 +0200
commit0ed86c76239d4f2904ea4ae1a77902a9e0db2a6d (patch)
tree5e8e1d43a0140f5739b21be7cbe120ebb9360d4f /old-tests/dist/simple
parent12fc75188cc1f0a8c4c443c04e7a022131198c36 (diff)
Move old tests to old-tests/
Diffstat (limited to 'old-tests/dist/simple')
-rw-r--r--old-tests/dist/simple/README0
-rwxr-xr-xold-tests/dist/simple/bootstrap0
-rw-r--r--old-tests/dist/simple/build/bootstrap.build9
-rw-r--r--old-tests/dist/simple/build/export.build0
-rw-r--r--old-tests/dist/simple/buildfile4
-rw-r--r--old-tests/dist/simple/driver.cxx10
-rw-r--r--old-tests/dist/simple/test.out1
7 files changed, 24 insertions, 0 deletions
diff --git a/old-tests/dist/simple/README b/old-tests/dist/simple/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/old-tests/dist/simple/README
diff --git a/old-tests/dist/simple/bootstrap b/old-tests/dist/simple/bootstrap
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/old-tests/dist/simple/bootstrap
diff --git a/old-tests/dist/simple/build/bootstrap.build b/old-tests/dist/simple/build/bootstrap.build
new file mode 100644
index 0000000..0cd9015
--- /dev/null
+++ b/old-tests/dist/simple/build/bootstrap.build
@@ -0,0 +1,9 @@
+project = dist-simple
+version = 1.0.0
+amalgamation = # Disabled.
+using config
+using dist
+using test
+using install
+
+dist.package = $project-$version
diff --git a/old-tests/dist/simple/build/export.build b/old-tests/dist/simple/build/export.build
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/old-tests/dist/simple/build/export.build
diff --git a/old-tests/dist/simple/buildfile b/old-tests/dist/simple/buildfile
new file mode 100644
index 0000000..159fff3
--- /dev/null
+++ b/old-tests/dist/simple/buildfile
@@ -0,0 +1,4 @@
+using cxx
+
+exe{driver}: cxx{driver} doc{README} file{bootstrap}
+exe{driver}: test.output = test.out
diff --git a/old-tests/dist/simple/driver.cxx b/old-tests/dist/simple/driver.cxx
new file mode 100644
index 0000000..293d7ff
--- /dev/null
+++ b/old-tests/dist/simple/driver.cxx
@@ -0,0 +1,10 @@
+#include <iostream>
+
+using namespace std;
+
+int
+main ()
+{
+ cerr << "test is running (stderr)" << endl;
+ cout << "test is running (stdout)" << endl;
+}
diff --git a/old-tests/dist/simple/test.out b/old-tests/dist/simple/test.out
new file mode 100644
index 0000000..5d63fab
--- /dev/null
+++ b/old-tests/dist/simple/test.out
@@ -0,0 +1 @@
+test is running (stdout)