Metrowerks needs BOOST_NO_STD_LOCALE in config to be able to compile regex

regex test Jamfile updates so that some tests will actually run
warning suppression for condition.cpp

unit-test rule now accepts input files
updated metrowerks and borland to properly set up path for running tests

----------------------------------------------------------------------
Modified Files:
	boost/config/compiler/metrowerks.hpp
	libs/python/src/gen_function.py libs/regex/test/Jamfile
 Tag: thread-initial
	libs/thread/src/condition.cpp
 No tag
	tools/build/boost-base.jam tools/build/borland-tools.jam
	tools/build/metrowerks-tools.jam
----------------------------------------------------------------------


[SVN r11853]
This commit is contained in:
Dave Abrahams
2001-12-02 17:43:45 +00:00
parent f0d62fb2c0
commit 277ca851c8

View File

@ -1,5 +1,11 @@
subproject libs/regex/test ;
local test-dir = $(BOOST_ROOT)$(SLASH)libs$(SLASH)regex$(SLASH)test$(SLASH)regress$(SLASH) ;
local test-files = $(test-dir)tests.txt
# dwa -- not sure if this is generally applicable
# $(test-dir)test1252.txt
;
unit-test regress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
<lib>../build/libboost_regex$(SUFLIB)
@ -8,6 +14,8 @@ unit-test regress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
<define>BOOST_REGEX_NO_LIB=1
:
debug
:
$(test-files)
;
unit-test wregress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
@ -18,6 +26,8 @@ unit-test wregress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
<define>TEST_UNICODE=1
:
debug
:
$(test-files)
;
unit-test posix_api_check_c : c_compiler_checks/posix_api_check.c
@ -27,6 +37,8 @@ unit-test posix_api_check_c : c_compiler_checks/posix_api_check.c
<define>BOOST_REGEX_NO_LIB=1
:
debug
:
$(test-files)
;
unit-test wide_posix_api_check_c : c_compiler_checks/wide_posix_api_check.c
@ -36,6 +48,8 @@ unit-test wide_posix_api_check_c : c_compiler_checks/wide_posix_api_check.c
<define>BOOST_REGEX_NO_LIB=1
:
debug
:
$(test-files)
;
unit-test posix_api_check : c_compiler_checks/posix_api_check.cpp
@ -45,6 +59,8 @@ unit-test posix_api_check : c_compiler_checks/posix_api_check.cpp
<define>BOOST_REGEX_NO_LIB=1
:
debug
:
$(test-files)
;
unit-test wide_posix_api_check : c_compiler_checks/wide_posix_api_check.cpp
@ -54,6 +70,8 @@ unit-test wide_posix_api_check : c_compiler_checks/wide_posix_api_check.cpp
<define>BOOST_REGEX_NO_LIB=1
:
debug
:
$(test-files)
;