diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-16 17:29:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-16 17:29:01 +0200 |
commit | 2af491cc4ad0ae4064f2e858c83ed485613adafa (patch) | |
tree | 18010b6c7b9ef13072f6e2514fcb1bb60f38d60a /tests/build | |
parent | 3ab61fbc2ce25afa617ed6bb50c2f8d701beeaba (diff) |
Convert tests/ to subproject, initial work on cross-testing support
Diffstat (limited to 'tests/build')
-rw-r--r-- | tests/build/.gitignore | 1 | ||||
-rw-r--r-- | tests/build/bootstrap.build | 9 | ||||
-rw-r--r-- | tests/build/root.build | 17 |
3 files changed, 27 insertions, 0 deletions
diff --git a/tests/build/.gitignore b/tests/build/.gitignore new file mode 100644 index 0000000..225c27f --- /dev/null +++ b/tests/build/.gitignore @@ -0,0 +1 @@ +config.build diff --git a/tests/build/bootstrap.build b/tests/build/bootstrap.build new file mode 100644 index 0000000..42a1bce --- /dev/null +++ b/tests/build/bootstrap.build @@ -0,0 +1,9 @@ +# file : tests/build/bootstrap.build +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; 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..d69845d --- /dev/null +++ b/tests/build/root.build @@ -0,0 +1,17 @@ +# file : tests/build/root.build +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +cxx.std = latest + +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx + +# Setup the build system driver that we are testing (which may not be the same +# as our $build.path). +# +import b = build2%exe{b} + +dir{*}: test = $b |