From 277ca851c8fac1062ae3086f795343c7bdc9e497 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 2 Dec 2001 17:43:45 +0000 Subject: [PATCH] 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] --- test/Jamfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/Jamfile b/test/Jamfile index cc748b5d..8117a46e 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -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 ../build/libboost_regex$(SUFLIB) @@ -8,6 +14,8 @@ unit-test regress : regress/parse.cpp regress/regress.cpp regress/tests.cpp 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 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 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 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 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 BOOST_REGEX_NO_LIB=1 : debug + : + $(test-files) ;