diff options
-rw-r--r-- | cli/tests/.gitignore | 2 | ||||
-rw-r--r-- | cli/tests/build/.gitignore | 3 | ||||
-rw-r--r-- | cli/tests/build/bootstrap.build | 8 | ||||
-rw-r--r-- | cli/tests/build/root.build | 8 | ||||
-rw-r--r-- | cli/tests/buildfile | 4 | ||||
-rw-r--r-- | cli/tests/headings/buildfile (renamed from cli-tests/note/buildfile) | 4 | ||||
-rw-r--r-- | cli/tests/headings/testscript (renamed from cli-tests/headings/testscript) | 2 | ||||
-rw-r--r-- | cli/tests/note/buildfile (renamed from cli-tests/toc/buildfile) | 4 | ||||
-rw-r--r-- | cli/tests/note/testscript (renamed from cli-tests/note/testscript) | 2 | ||||
-rw-r--r-- | cli/tests/toc/buildfile (renamed from cli-tests/headings/buildfile) | 4 | ||||
-rw-r--r-- | cli/tests/toc/testscript (renamed from cli-tests/toc/testscript) | 2 |
11 files changed, 37 insertions, 6 deletions
diff --git a/cli/tests/.gitignore b/cli/tests/.gitignore new file mode 100644 index 0000000..d4a788b --- /dev/null +++ b/cli/tests/.gitignore @@ -0,0 +1,2 @@ +test +test-* diff --git a/cli/tests/build/.gitignore b/cli/tests/build/.gitignore new file mode 100644 index 0000000..4a730a3 --- /dev/null +++ b/cli/tests/build/.gitignore @@ -0,0 +1,3 @@ +config.build +root/ +bootstrap/ diff --git a/cli/tests/build/bootstrap.build b/cli/tests/build/bootstrap.build new file mode 100644 index 0000000..bb305a2 --- /dev/null +++ b/cli/tests/build/bootstrap.build @@ -0,0 +1,8 @@ +# file : tests/build/bootstrap.build +# license : MIT; see accompanying LICENSE file + +project = + +using config +using dist +using test diff --git a/cli/tests/build/root.build b/cli/tests/build/root.build new file mode 100644 index 0000000..cb9ba03 --- /dev/null +++ b/cli/tests/build/root.build @@ -0,0 +1,8 @@ +# file : tests/build/root.build +# license : MIT; see accompanying LICENSE file + +# Configure C++ module and specify the test target for cross-testing. +# +using cxx.config + +test.target = $cxx.target diff --git a/cli/tests/buildfile b/cli/tests/buildfile new file mode 100644 index 0000000..556ed55 --- /dev/null +++ b/cli/tests/buildfile @@ -0,0 +1,4 @@ +# file : tests/buildfile +# license : MIT; see accompanying LICENSE file + +./: {*/ -build/} diff --git a/cli-tests/note/buildfile b/cli/tests/headings/buildfile index c8cf49b..aa665c7 100644 --- a/cli-tests/note/buildfile +++ b/cli/tests/headings/buildfile @@ -1,6 +1,8 @@ -# file : note/buildfile +# file : tests/headings/buildfile # license : MIT; see accompanying LICENSE file +import! [metadata] cli = cli%exe{cli} + ./: testscript $cli testscript{*}: test = $cli diff --git a/cli-tests/headings/testscript b/cli/tests/headings/testscript index 0efb7ae..163ba5f 100644 --- a/cli-tests/headings/testscript +++ b/cli/tests/headings/testscript @@ -1,4 +1,4 @@ -# file : headings/testscript +# file : tests/headings/testscript # license : MIT; see accompanying LICENSE file : auto-headings diff --git a/cli-tests/toc/buildfile b/cli/tests/note/buildfile index 3be6359..b35a911 100644 --- a/cli-tests/toc/buildfile +++ b/cli/tests/note/buildfile @@ -1,6 +1,8 @@ -# file : toc/buildfile +# file : tests/note/buildfile # license : MIT; see accompanying LICENSE file +import! [metadata] cli = cli%exe{cli} + ./: testscript $cli testscript{*}: test = $cli diff --git a/cli-tests/note/testscript b/cli/tests/note/testscript index 9f00811..52bcecc 100644 --- a/cli-tests/note/testscript +++ b/cli/tests/note/testscript @@ -1,4 +1,4 @@ -# file : note/testscript +# file : tests/note/testscript # license : MIT; see accompanying LICENSE file : block-basics diff --git a/cli-tests/headings/buildfile b/cli/tests/toc/buildfile index af3ae75..50a9ec0 100644 --- a/cli-tests/headings/buildfile +++ b/cli/tests/toc/buildfile @@ -1,6 +1,8 @@ -# file : headings/buildfile +# file : tests/toc/buildfile # license : MIT; see accompanying LICENSE file +import! [metadata] cli = cli%exe{cli} + ./: testscript $cli testscript{*}: test = $cli diff --git a/cli-tests/toc/testscript b/cli/tests/toc/testscript index 70e9065..6b3ff3e 100644 --- a/cli-tests/toc/testscript +++ b/cli/tests/toc/testscript @@ -1,4 +1,4 @@ -# file : toc/testscript +# file : tests/toc/testscript # license : MIT; see accompanying LICENSE file : toc |