diff --git a/test/Jamfile b/test/Jamfile index 1aa674f..28d3e40 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -13,5 +13,14 @@ DEPENDS all : test ; # look in BOOST_ROOT for sources first, just in this Jamfile local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ; - unit-test Optional : optional_test.cpp : $(BOOST_ROOT) ; + test-suite Optional : + [ run optional_test.cpp ] + [ compile-fail optional_test.cpp SHOW_COMPILATION_FAIL_1] + [ compile-fail optional_test.cpp SHOW_COMPILATION_FAIL_2] + [ compile-fail optional_test.cpp SHOW_COMPILATION_FAIL_3] + [ compile-fail optional_test.cpp SHOW_COMPILATION_FAIL_4a] + [ compile-fail optional_test.cpp SHOW_COMPILATION_FAIL_4b] + [ compile-fail optional_test.cpp SHOW_COMPILATION_FAIL_5a] + [ compile-fail optional_test.cpp SHOW_COMPILATION_FAIL_5b] + ; }