aboutsummaryrefslogtreecommitdiff
path: root/old-tests/cli/lib/test
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/cli/lib/test
parent12fc75188cc1f0a8c4c443c04e7a022131198c36 (diff)
Move old tests to old-tests/
Diffstat (limited to 'old-tests/cli/lib/test')
-rw-r--r--old-tests/cli/lib/test/build/bootstrap.build3
-rw-r--r--old-tests/cli/lib/test/build/root.build7
-rw-r--r--old-tests/cli/lib/test/buildfile6
-rw-r--r--old-tests/cli/lib/test/driver.C8
-rw-r--r--old-tests/cli/lib/test/test.cli5
5 files changed, 29 insertions, 0 deletions
diff --git a/old-tests/cli/lib/test/build/bootstrap.build b/old-tests/cli/lib/test/build/bootstrap.build
new file mode 100644
index 0000000..db43826
--- /dev/null
+++ b/old-tests/cli/lib/test/build/bootstrap.build
@@ -0,0 +1,3 @@
+project = cli-lib-test
+amalgamation = # Disabled.
+using config
diff --git a/old-tests/cli/lib/test/build/root.build b/old-tests/cli/lib/test/build/root.build
new file mode 100644
index 0000000..636fd02
--- /dev/null
+++ b/old-tests/cli/lib/test/build/root.build
@@ -0,0 +1,7 @@
+using cxx
+
+hxx{*}: extension = h
+ixx{*}: extension = inl
+cxx{*}: extension = C
+
+using cli
diff --git a/old-tests/cli/lib/test/buildfile b/old-tests/cli/lib/test/buildfile
new file mode 100644
index 0000000..d3e784d
--- /dev/null
+++ b/old-tests/cli/lib/test/buildfile
@@ -0,0 +1,6 @@
+import libs += cli-lib-libtest%lib{test}
+
+exe{driver}: cxx{driver} cli.cxx{test} $libs
+cli.cxx{test}: cli{test}
+
+cxx.poptions += -I$out_root
diff --git a/old-tests/cli/lib/test/driver.C b/old-tests/cli/lib/test/driver.C
new file mode 100644
index 0000000..ee2171f
--- /dev/null
+++ b/old-tests/cli/lib/test/driver.C
@@ -0,0 +1,8 @@
+#include "test.h"
+#include <test/test>
+#include <test/extra/test>
+
+int
+main ()
+{
+}
diff --git a/old-tests/cli/lib/test/test.cli b/old-tests/cli/lib/test/test.cli
new file mode 100644
index 0000000..db3cfb8
--- /dev/null
+++ b/old-tests/cli/lib/test/test.cli
@@ -0,0 +1,5 @@
+class options
+{
+ bool --help;
+ bool --version;
+};