aboutsummaryrefslogtreecommitdiff
path: root/tests/dist
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dist')
-rw-r--r--tests/dist/simple/README0
-rwxr-xr-xtests/dist/simple/bootstrap0
-rw-r--r--tests/dist/simple/build/bootstrap.build9
-rw-r--r--tests/dist/simple/build/export.build0
-rw-r--r--tests/dist/simple/buildfile7
-rw-r--r--tests/dist/simple/driver.cxx10
-rw-r--r--tests/dist/simple/test.out1
7 files changed, 27 insertions, 0 deletions
diff --git a/tests/dist/simple/README b/tests/dist/simple/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/dist/simple/README
diff --git a/tests/dist/simple/bootstrap b/tests/dist/simple/bootstrap
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/tests/dist/simple/bootstrap
diff --git a/tests/dist/simple/build/bootstrap.build b/tests/dist/simple/build/bootstrap.build
new file mode 100644
index 0000000..0cd9015
--- /dev/null
+++ b/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/tests/dist/simple/build/export.build b/tests/dist/simple/build/export.build
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/dist/simple/build/export.build
diff --git a/tests/dist/simple/buildfile b/tests/dist/simple/buildfile
new file mode 100644
index 0000000..27f143d
--- /dev/null
+++ b/tests/dist/simple/buildfile
@@ -0,0 +1,7 @@
+using cxx
+
+hxx.ext = hxx
+cxx.ext = cxx
+
+exe{driver}: cxx{driver} doc{README} file{bootstrap}
+exe{driver}: test.output = test.out
diff --git a/tests/dist/simple/driver.cxx b/tests/dist/simple/driver.cxx
new file mode 100644
index 0000000..293d7ff
--- /dev/null
+++ b/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/tests/dist/simple/test.out b/tests/dist/simple/test.out
new file mode 100644
index 0000000..5d63fab
--- /dev/null
+++ b/tests/dist/simple/test.out
@@ -0,0 +1 @@
+test is running (stdout)