diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-01 12:07:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-01 12:07:18 +0200 |
commit | 0ed86c76239d4f2904ea4ae1a77902a9e0db2a6d (patch) | |
tree | 5e8e1d43a0140f5739b21be7cbe120ebb9360d4f /old-tests/cli/lib/libtest/test | |
parent | 12fc75188cc1f0a8c4c443c04e7a022131198c36 (diff) |
Move old tests to old-tests/
Diffstat (limited to 'old-tests/cli/lib/libtest/test')
-rw-r--r-- | old-tests/cli/lib/libtest/test/base.cli | 7 | ||||
-rw-r--r-- | old-tests/cli/lib/libtest/test/buildfile | 20 | ||||
-rw-r--r-- | old-tests/cli/lib/libtest/test/extra/test.cli | 11 | ||||
-rw-r--r-- | old-tests/cli/lib/libtest/test/test.cli | 9 | ||||
-rw-r--r-- | old-tests/cli/lib/libtest/test/utility.cpp | 6 |
5 files changed, 53 insertions, 0 deletions
diff --git a/old-tests/cli/lib/libtest/test/base.cli b/old-tests/cli/lib/libtest/test/base.cli new file mode 100644 index 0000000..bbf9999 --- /dev/null +++ b/old-tests/cli/lib/libtest/test/base.cli @@ -0,0 +1,7 @@ +namespace test +{ + class base + { + bool --version; + }; +} diff --git a/old-tests/cli/lib/libtest/test/buildfile b/old-tests/cli/lib/libtest/test/buildfile new file mode 100644 index 0000000..6b0d9bd --- /dev/null +++ b/old-tests/cli/lib/libtest/test/buildfile @@ -0,0 +1,20 @@ +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/old-tests/cli/lib/libtest/test/extra/test.cli b/old-tests/cli/lib/libtest/test/extra/test.cli new file mode 100644 index 0000000..8408402 --- /dev/null +++ b/old-tests/cli/lib/libtest/test/extra/test.cli @@ -0,0 +1,11 @@ +namespace test +{ + namespace extra + { + class options + { + bool --help; + bool --version; + }; + } +} diff --git a/old-tests/cli/lib/libtest/test/test.cli b/old-tests/cli/lib/libtest/test/test.cli new file mode 100644 index 0000000..f19d56c --- /dev/null +++ b/old-tests/cli/lib/libtest/test/test.cli @@ -0,0 +1,9 @@ +include <test/base.cli>; + +namespace test +{ + class options: base + { + bool --help; + }; +} diff --git a/old-tests/cli/lib/libtest/test/utility.cpp b/old-tests/cli/lib/libtest/test/utility.cpp new file mode 100644 index 0000000..7c59218 --- /dev/null +++ b/old-tests/cli/lib/libtest/test/utility.cpp @@ -0,0 +1,6 @@ +#include <test/test> + +void +f () +{ +} |