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) : ; -