Files
boost_regex/example/Jamfile
John Maddock 82ad27c468 Modified Jamfile to use testing.jam
[SVN r16868]
2003-01-11 11:52:19 +00:00

46 lines
1.6 KiB
Plaintext

subproject libs/regex/example ;
# bring in the rules for testing
SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
include testing.jam ;
rule regex-test-run ( sources + : input * )
{
return [
run
# sources
$(sources)
# dependencies
<lib>../build/boost_regex
: # additional args
$(input)
: # test-files
: # requirements
<sysinclude>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
: # test name
] ;
}
test-suite regex-examples :
[ regex-test-run timer/regex_timer.cpp : timer/input_script.txt ]
[ regex-test-run jgrep/jgrep.cpp jgrep/main.cpp : -n boost/ ../../../boost/regex.hpp ]
[ regex-test-run snippets/credit_card_example.cpp ]
[ regex-test-run snippets/partial_regex_grep.cpp : ../index.htm ]
[ regex-test-run snippets/partial_regex_match.cpp : 1234-5678-8765-4 ]
[ regex-test-run snippets/regex_grep_example_1.cpp : ../../../boost/rational.hpp ]
[ regex-test-run snippets/regex_grep_example_2.cpp : ../../../boost/rational.hpp ]
[ regex-test-run snippets/regex_grep_example_3.cpp : ../../../boost/rational.hpp ]
[ regex-test-run snippets/regex_grep_example_4.cpp : ../../../boost/rational.hpp ]
[ regex-test-run snippets/regex_match_example.cpp : -auto ]
[ regex-test-run snippets/regex_merge_example.cpp : ../../../boost/rational.hpp ]
[ regex-test-run snippets/regex_search_example.cpp : ../../../boost/rational.hpp ]
[ regex-test-run snippets/regex_split_example_1.cpp : -auto ]
[ regex-test-run snippets/regex_split_example_2.cpp : ../index.htm ]
;