mirror of
https://github.com/boostorg/optional.git
synced 2025-07-16 13:52:08 +02:00
Fixed for new regression testing.
compile-fail cases added [SVN r17011]
This commit is contained in:
11
test/Jamfile
11
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 : <sysinclude>$(BOOST_ROOT) ;
|
||||
test-suite Optional :
|
||||
[ run optional_test.cpp ]
|
||||
[ compile-fail optional_test.cpp <define>SHOW_COMPILATION_FAIL_1]
|
||||
[ compile-fail optional_test.cpp <define>SHOW_COMPILATION_FAIL_2]
|
||||
[ compile-fail optional_test.cpp <define>SHOW_COMPILATION_FAIL_3]
|
||||
[ compile-fail optional_test.cpp <define>SHOW_COMPILATION_FAIL_4a]
|
||||
[ compile-fail optional_test.cpp <define>SHOW_COMPILATION_FAIL_4b]
|
||||
[ compile-fail optional_test.cpp <define>SHOW_COMPILATION_FAIL_5a]
|
||||
[ compile-fail optional_test.cpp <define>SHOW_COMPILATION_FAIL_5b]
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user