From cbd7cabcc3e6b24e80521bfec230e905f420ff4f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 11 May 2018 21:48:28 +0300 Subject: Add some tests --- tests/build/.gitignore | 1 + tests/build/bootstrap.build | 9 +++++++++ tests/build/root.build | 17 +++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 tests/build/.gitignore create mode 100644 tests/build/bootstrap.build create mode 100644 tests/build/root.build (limited to 'tests/build') 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..355a05a --- /dev/null +++ b/tests/build/bootstrap.build @@ -0,0 +1,9 @@ +# file : tests/build/bootstrap.build +# copyright : Copyright (c) 2014-2017 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..58b2eaf --- /dev/null +++ b/tests/build/root.build @@ -0,0 +1,17 @@ +# file : tests/build/root.build +# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +# We need to configure C++ module to pass the compiler path to some of bdep +# test commands. +# +using cxx + +# Setup the bdep that we are testing. +# +import bdep = bdep%exe{bdep} +test{*}: test = $bdep + +# Specify the test target for cross-testing. +# +test.target = $cxx.target -- cgit v1.1