Updated Jamfiles and tests so that they actually work now!

[SVN r11985]
This commit is contained in:
John Maddock
2001-12-09 12:50:46 +00:00
parent edbc68df6c
commit 63130c1ef5
7 changed files with 39 additions and 5 deletions

View File

@ -7,7 +7,8 @@ SOURCES = c_regex_traits c_regex_traits_common cpp_regex_traits
lib libboost_regex$(SUFLIB) : ../src/$(SOURCES).cpp
:
<include>$(BOOST_ROOT)
<define>BOOST_RE_NO_LIB=1
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug release
;
@ -23,3 +24,6 @@ dll libboost_regex$(SUFDLL[1]) : ../src/$(SOURCES).cpp

View File

@ -6,6 +6,7 @@ exe timer : timer/regex_timer.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -15,6 +16,7 @@ exe jgrep : jgrep/jgrep.cpp jgrep/main.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -24,6 +26,7 @@ exe credit_card_example : snippets/credit_card_example.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -34,6 +37,7 @@ exe partial_regex_grep : snippets/partial_regex_grep.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -43,6 +47,7 @@ exe partial_regex_match : snippets/partial_regex_match.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -52,6 +57,7 @@ exe regex_grep_example_1 : snippets/regex_grep_example_1.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -61,6 +67,7 @@ exe regex_grep_example_2 : snippets/regex_grep_example_2.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -70,6 +77,7 @@ exe regex_grep_example_3 : snippets/regex_grep_example_3.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -79,6 +87,7 @@ exe regex_grep_example_4 : snippets/regex_grep_example_4.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -88,6 +97,7 @@ exe regex_match_example : snippets/regex_match_example.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -97,6 +107,7 @@ exe regex_merge_example : snippets/regex_merge_example.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -106,6 +117,7 @@ exe regex_search_example : snippets/regex_search_example.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -115,6 +127,7 @@ exe regex_split_example_1 : snippets/regex_split_example_1.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -124,6 +137,7 @@ exe regex_split_example_2 : snippets/regex_split_example_2.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
;
@ -132,3 +146,4 @@ exe regex_split_example_2 : snippets/regex_split_example_2.cpp

View File

@ -12,6 +12,7 @@ unit-test regress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
@ -24,6 +25,7 @@ unit-test wregress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>TEST_UNICODE=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
@ -35,10 +37,10 @@ unit-test posix_api_check_c : c_compiler_checks/posix_api_check.c
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
$(test-files)
;
unit-test wide_posix_api_check_c : c_compiler_checks/wide_posix_api_check.c
@ -46,10 +48,10 @@ unit-test wide_posix_api_check_c : c_compiler_checks/wide_posix_api_check.c
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
$(test-files)
;
unit-test posix_api_check : c_compiler_checks/posix_api_check.cpp
@ -57,10 +59,10 @@ unit-test posix_api_check : c_compiler_checks/posix_api_check.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
$(test-files)
;
unit-test wide_posix_api_check : c_compiler_checks/wide_posix_api_check.cpp
@ -68,12 +70,17 @@ unit-test wide_posix_api_check : c_compiler_checks/wide_posix_api_check.cpp
:
<include>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
$(test-files)
;

View File

@ -60,5 +60,7 @@ int main()
}
assert(matches[0].rm_so == matches[0].rm_eo == 1);
regfree(&re);
printf("no errors found\n");
return 0;
}

View File

@ -60,5 +60,7 @@ int main()
}
assert(matches[0].rm_so == matches[0].rm_eo == 1);
regfree(&re);
printf("no errors found\n");
return 0;
}

View File

@ -62,6 +62,8 @@ int main()
}
assert(matches[0].rm_so == matches[0].rm_eo == 1);
regfree(&re);
printf("no errors found\n");
return 0;
}

View File

@ -62,6 +62,8 @@ int main()
}
assert(matches[0].rm_so == matches[0].rm_eo == 1);
regfree(&re);
printf("no errors found\n");
return 0;
}