aboutsummaryrefslogtreecommitdiff
path: root/tests/cli
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 /tests/cli
parent12fc75188cc1f0a8c4c443c04e7a022131198c36 (diff)
Move old tests to old-tests/
Diffstat (limited to 'tests/cli')
-rw-r--r--tests/cli/lib/libtest/build/bootstrap.build3
-rw-r--r--tests/cli/lib/libtest/build/export.build6
-rw-r--r--tests/cli/lib/libtest/build/root.build5
-rw-r--r--tests/cli/lib/libtest/buildfile2
-rw-r--r--tests/cli/lib/libtest/test/base.cli7
-rw-r--r--tests/cli/lib/libtest/test/buildfile20
-rw-r--r--tests/cli/lib/libtest/test/extra/test.cli11
-rw-r--r--tests/cli/lib/libtest/test/test.cli9
-rw-r--r--tests/cli/lib/libtest/test/utility.cpp6
-rw-r--r--tests/cli/lib/test/build/bootstrap.build3
-rw-r--r--tests/cli/lib/test/build/root.build7
-rw-r--r--tests/cli/lib/test/buildfile6
-rw-r--r--tests/cli/lib/test/driver.C8
-rw-r--r--tests/cli/lib/test/test.cli5
-rw-r--r--tests/cli/simple/build/bootstrap.build3
-rw-r--r--tests/cli/simple/build/root.build1
-rw-r--r--tests/cli/simple/buildfile15
-rw-r--r--tests/cli/simple/driver.cpp6
-rw-r--r--tests/cli/simple/test.cli5
19 files changed, 0 insertions, 128 deletions
diff --git a/tests/cli/lib/libtest/build/bootstrap.build b/tests/cli/lib/libtest/build/bootstrap.build
deleted file mode 100644
index 2e04406..0000000
--- a/tests/cli/lib/libtest/build/bootstrap.build
+++ /dev/null
@@ -1,3 +0,0 @@
-project = cli-lib-libtest
-amalgamation = # Disabled.
-using config
diff --git a/tests/cli/lib/libtest/build/export.build b/tests/cli/lib/libtest/build/export.build
deleted file mode 100644
index e8b12b3..0000000
--- a/tests/cli/lib/libtest/build/export.build
+++ /dev/null
@@ -1,6 +0,0 @@
-$out_root/:
-{
- include test/
-}
-
-export $out_root/test/lib{test}
diff --git a/tests/cli/lib/libtest/build/root.build b/tests/cli/lib/libtest/build/root.build
deleted file mode 100644
index c9ff67d..0000000
--- a/tests/cli/lib/libtest/build/root.build
+++ /dev/null
@@ -1,5 +0,0 @@
-using cxx
-
-hxx{*}: extension =
-ixx{*}: extension = ipp
-cxx{*}: extension = cpp
diff --git a/tests/cli/lib/libtest/buildfile b/tests/cli/lib/libtest/buildfile
deleted file mode 100644
index 7ea849d..0000000
--- a/tests/cli/lib/libtest/buildfile
+++ /dev/null
@@ -1,2 +0,0 @@
-./: test/
-include test/
diff --git a/tests/cli/lib/libtest/test/base.cli b/tests/cli/lib/libtest/test/base.cli
deleted file mode 100644
index bbf9999..0000000
--- a/tests/cli/lib/libtest/test/base.cli
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace test
-{
- class base
- {
- bool --version;
- };
-}
diff --git a/tests/cli/lib/libtest/test/buildfile b/tests/cli/lib/libtest/test/buildfile
deleted file mode 100644
index 6b0d9bd..0000000
--- a/tests/cli/lib/libtest/test/buildfile
+++ /dev/null
@@ -1,20 +0,0 @@
-using cli
-
-lib{test}: cxx{utility} cli.cxx{test base} extra/cxx{test}
-cli.cxx{test}: cli{test}
-cli.cxx{base}: cli{base}
-
-cli.options += -I $src_root --include-with-brackets
-
-extra/:
-{
- cxx{test} hxx{test}: cli{test}
- cli.options += --include-prefix test/extra --guard-prefix TEST_EXTRA \
- --cli-namespace test::extra::cli
-}
-
-cxx.poptions += -I$out_root -I$src_root
-lib{test}: cxx.export.poptions = -I$out_root -I$src_root
-
-cli.options += --include-prefix test --guard-prefix TEST \
---cli-namespace test::cli
diff --git a/tests/cli/lib/libtest/test/extra/test.cli b/tests/cli/lib/libtest/test/extra/test.cli
deleted file mode 100644
index 8408402..0000000
--- a/tests/cli/lib/libtest/test/extra/test.cli
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace test
-{
- namespace extra
- {
- class options
- {
- bool --help;
- bool --version;
- };
- }
-}
diff --git a/tests/cli/lib/libtest/test/test.cli b/tests/cli/lib/libtest/test/test.cli
deleted file mode 100644
index f19d56c..0000000
--- a/tests/cli/lib/libtest/test/test.cli
+++ /dev/null
@@ -1,9 +0,0 @@
-include <test/base.cli>;
-
-namespace test
-{
- class options: base
- {
- bool --help;
- };
-}
diff --git a/tests/cli/lib/libtest/test/utility.cpp b/tests/cli/lib/libtest/test/utility.cpp
deleted file mode 100644
index 7c59218..0000000
--- a/tests/cli/lib/libtest/test/utility.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <test/test>
-
-void
-f ()
-{
-}
diff --git a/tests/cli/lib/test/build/bootstrap.build b/tests/cli/lib/test/build/bootstrap.build
deleted file mode 100644
index db43826..0000000
--- a/tests/cli/lib/test/build/bootstrap.build
+++ /dev/null
@@ -1,3 +0,0 @@
-project = cli-lib-test
-amalgamation = # Disabled.
-using config
diff --git a/tests/cli/lib/test/build/root.build b/tests/cli/lib/test/build/root.build
deleted file mode 100644
index 636fd02..0000000
--- a/tests/cli/lib/test/build/root.build
+++ /dev/null
@@ -1,7 +0,0 @@
-using cxx
-
-hxx{*}: extension = h
-ixx{*}: extension = inl
-cxx{*}: extension = C
-
-using cli
diff --git a/tests/cli/lib/test/buildfile b/tests/cli/lib/test/buildfile
deleted file mode 100644
index d3e784d..0000000
--- a/tests/cli/lib/test/buildfile
+++ /dev/null
@@ -1,6 +0,0 @@
-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/tests/cli/lib/test/driver.C b/tests/cli/lib/test/driver.C
deleted file mode 100644
index ee2171f..0000000
--- a/tests/cli/lib/test/driver.C
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "test.h"
-#include <test/test>
-#include <test/extra/test>
-
-int
-main ()
-{
-}
diff --git a/tests/cli/lib/test/test.cli b/tests/cli/lib/test/test.cli
deleted file mode 100644
index db3cfb8..0000000
--- a/tests/cli/lib/test/test.cli
+++ /dev/null
@@ -1,5 +0,0 @@
-class options
-{
- bool --help;
- bool --version;
-};
diff --git a/tests/cli/simple/build/bootstrap.build b/tests/cli/simple/build/bootstrap.build
deleted file mode 100644
index 2c116c9..0000000
--- a/tests/cli/simple/build/bootstrap.build
+++ /dev/null
@@ -1,3 +0,0 @@
-project = cli-simple
-amalgamation = # Disabled.
-using config
diff --git a/tests/cli/simple/build/root.build b/tests/cli/simple/build/root.build
deleted file mode 100644
index 8b13789..0000000
--- a/tests/cli/simple/build/root.build
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/tests/cli/simple/buildfile b/tests/cli/simple/buildfile
deleted file mode 100644
index 47e06d9..0000000
--- a/tests/cli/simple/buildfile
+++ /dev/null
@@ -1,15 +0,0 @@
-using cxx
-
-hxx{*}: extension =
-cxx{*}: extension = cpp
-ixx{*}: extension = ipp
-
-cxx.poptions += -I$out_root
-
-using cli
-
-exe{driver}: cxx{driver} cxx{test}
-cxx{test} hxx{test}: cli{test}
-
-#exe{driver}: cxx{driver} cli.cxx{test}
-#cli.cxx{test}: cli{test}
diff --git a/tests/cli/simple/driver.cpp b/tests/cli/simple/driver.cpp
deleted file mode 100644
index ef9cc60..0000000
--- a/tests/cli/simple/driver.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "test"
-
-int
-main ()
-{
-}
diff --git a/tests/cli/simple/test.cli b/tests/cli/simple/test.cli
deleted file mode 100644
index db3cfb8..0000000
--- a/tests/cli/simple/test.cli
+++ /dev/null
@@ -1,5 +0,0 @@
-class options
-{
- bool --help;
- bool --version;
-};