From 02c6fb40a6f57e3a0201c7ae470a429edf449863 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 11 Jan 2003 11:52:19 +0000 Subject: [PATCH] Modified Jamfile to use testing.jam [SVN r16868] --- Jamfile | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/Jamfile b/Jamfile index dc93545..6f109fa 100644 --- a/Jamfile +++ b/Jamfile @@ -1,16 +1,22 @@ subproject libs/static_assert ; +# bring in the rules for testing +SEARCH on testing.jam = $(BOOST_BUILD_PATH) ; +include testing.jam ; + +test-suite static_assert : + [ run static_assert_test.cpp ] + [ run static_assert_example_1.cpp ] + [ run static_assert_example_2.cpp ] + [ run static_assert_example_3.cpp ] + [ compile-fail static_assert_test_fail_1.cpp ] + [ compile-fail static_assert_test_fail_2.cpp ] + [ compile-fail static_assert_test_fail_3.cpp ] + [ compile-fail static_assert_test_fail_4.cpp ] + [ compile-fail static_assert_test_fail_5.cpp ] + [ compile-fail static_assert_test_fail_6.cpp ] + [ compile-fail static_assert_test_fail_7.cpp ] + [ compile-fail static_assert_test_fail_8.cpp ] +; -unit-test static_assert_test : static_assert_test.cpp - : $(BOOST_ROOT) : ; - -unit-test static_assert_example_1 : static_assert_example_1.cpp - : $(BOOST_ROOT) : ; - -unit-test static_assert_example_2 : static_assert_example_2.cpp - : $(BOOST_ROOT) : ; - -unit-test static_assert_example_3 : static_assert_example_3.cpp - : $(BOOST_ROOT) : ; -