diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-20 13:10:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-20 13:10:42 +0200 |
commit | 8dd0d1d048cc7ed073b6eeb5b5cba442142125ad (patch) | |
tree | ec8757d15331e19be435b424d24011b646292586 /tests/build | |
parent | c91a6abc0d9c84c94e44a8f64de5485601b970ea (diff) |
Add few basic tests
Diffstat (limited to 'tests/build')
-rw-r--r-- | tests/build/.gitignore | 3 | ||||
-rw-r--r-- | tests/build/bootstrap.build | 9 | ||||
-rw-r--r-- | tests/build/root.build | 12 |
3 files changed, 24 insertions, 0 deletions
diff --git a/tests/build/.gitignore b/tests/build/.gitignore new file mode 100644 index 0000000..4a730a3 --- /dev/null +++ b/tests/build/.gitignore @@ -0,0 +1,3 @@ +config.build +root/ +bootstrap/ diff --git a/tests/build/bootstrap.build b/tests/build/bootstrap.build new file mode 100644 index 0000000..65ab7b7 --- /dev/null +++ b/tests/build/bootstrap.build @@ -0,0 +1,9 @@ +# file : tests/build/bootstrap.build +# copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC +# license : GNU GPL v3; see accompanying LICENSE file + +project = # Unnamed subproject. + +using config +using dist +using test diff --git a/tests/build/root.build b/tests/build/root.build new file mode 100644 index 0000000..3c04aa5 --- /dev/null +++ b/tests/build/root.build @@ -0,0 +1,12 @@ +# file : tests/build/root.build +# copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC +# license : GNU GPL v3; see accompanying LICENSE file + +# Import the ODB compiler we will be testing. +# +import odb = odb%exe{odb} +test{*}: test = $odb + +# Specify the test target for cross-testing. +# +test.target = $cxx.target |