From 0f08dcfc229402dcafeffc45c01d9713e62cb9c5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 5 May 2017 12:47:06 +0300 Subject: Add tests --- tests/build/.gitignore | 1 + tests/build/bootstrap.build | 5 +++++ tests/build/root.build | 14 ++++++++++++++ 3 files changed, 20 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..2c2de24 --- /dev/null +++ b/tests/build/bootstrap.build @@ -0,0 +1,5 @@ +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..a2ee38a --- /dev/null +++ b/tests/build/root.build @@ -0,0 +1,14 @@ +cxx.std = 11 + +using cxx + +hxx{*}: extension = hxx +cxx{*}: extension = cxx + +# Every exe{} in this subproject is by default a test. +# +exe{*}: test = true + +# Specify the test target for cross-testing. +# +test.target = $cxx.target -- cgit v1.1