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

@ -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;
}