Modified Jamfile to use testing.jam

[SVN r16868]
This commit is contained in:
John Maddock
2003-01-11 11:52:19 +00:00
parent 897c33be2a
commit 82ad27c468
2 changed files with 97 additions and 261 deletions

View File

@ -1,5 +1,9 @@
subproject libs/regex/test ;
# bring in the rules for testing
SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
include testing.jam ;
local test-dir = $(BOOST_ROOT)$(SLASH)libs$(SLASH)regex$(SLASH)test$(SLASH)regress$(SLASH) ;
local test-files = $(test-dir)tests.txt
@ -7,83 +11,68 @@ local test-files = $(test-dir)tests.txt
# $(test-dir)test1252.txt
;
unit-test regress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
<lib>../build/boost_regex$(SUFLIB) <lib>../../test/build/boost_prg_exec_monitor
:
<sysinclude>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
$(test-files)
;
unit-test wregress : regress/parse.cpp regress/regress.cpp regress/tests.cpp
<lib>../build/boost_regex$(SUFLIB) <lib>../../test/build/boost_prg_exec_monitor
:
<sysinclude>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>TEST_UNICODE=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
$(test-files)
;
unit-test posix_api_check_c : c_compiler_checks/posix_api_check.c
<lib>../build/boost_regex$(SUFLIB) <lib>../../test/build/boost_prg_exec_monitor
:
<sysinclude>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
;
unit-test wide_posix_api_check_c : c_compiler_checks/wide_posix_api_check.c
<lib>../build/boost_regex$(SUFLIB) <lib>../../test/build/boost_prg_exec_monitor
:
<sysinclude>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
;
unit-test posix_api_check : c_compiler_checks/posix_api_check.cpp
<lib>../build/boost_regex$(SUFLIB) <lib>../../test/build/boost_prg_exec_monitor
:
<sysinclude>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
;
unit-test wide_posix_api_check : c_compiler_checks/wide_posix_api_check.cpp
<lib>../build/boost_regex$(SUFLIB) <lib>../../test/build/boost_prg_exec_monitor
:
<sysinclude>../../../
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
debug
:
;
test-suite regex
: [ run regress/parse.cpp regress/regress.cpp regress/tests.cpp
<lib>../build/boost_regex
<lib>../../test/build/boost_prg_exec_monitor
:
$(test-files)
:
:
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
regress ]
[ run regress/parse.cpp lregress/regress.cpp regress/tests.cpp
<lib>../build/boost_regex
<lib>../../test/build/boost_prg_exec_monitor
:
$(test-files)
:
:
<define>BOOST_REGEX_NO_LIB=1
<define>TEST_UNICODE=1
<define>BOOST_REGEX_STATIC_LINK=1
:
wregress ]
[ run c_compiler_checks/posix_api_check.c
<lib>../build/boost_regex
:
:
:
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
posix_api_check_c ]
[ run c_compiler_checks/wide_posix_api_check.c
<lib>../build/boost_regex
:
:
:
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
:
wide_posix_api_check_c ]
[ run c_compiler_checks/posix_api_check.cpp
<lib>../build/boost_regex
:
:
:
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
]
[ run c_compiler_checks/wide_posix_api_check.cpp
<lib>../build/boost_regex
:
:
:
<define>BOOST_REGEX_NO_LIB=1
<define>BOOST_REGEX_STATIC_LINK=1
]
;