2001-08-18 11:50:48 +00:00
|
|
|
subproject libs/regex/test ;
|
|
|
|
|
2003-01-11 11:52:19 +00:00
|
|
|
# bring in the rules for testing
|
|
|
|
SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
|
|
|
|
include testing.jam ;
|
|
|
|
|
2001-12-02 17:43:45 +00:00
|
|
|
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
|
|
|
|
;
|
2001-08-18 11:50:48 +00:00
|
|
|
|
2003-01-11 11:52:19 +00:00
|
|
|
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
|
2003-01-21 12:21:35 +00:00
|
|
|
<threading>multi
|
2003-01-11 11:52:19 +00:00
|
|
|
:
|
|
|
|
regress ]
|
|
|
|
|
2003-01-19 20:21:36 +00:00
|
|
|
[ run regress/parse.cpp regress/regress.cpp regress/tests.cpp
|
2003-01-11 11:52:19 +00:00
|
|
|
<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
|
2003-01-21 12:21:35 +00:00
|
|
|
<threading>multi
|
2003-01-11 11:52:19 +00:00
|
|
|
:
|
|
|
|
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
|
2003-01-21 12:21:35 +00:00
|
|
|
<threading>multi
|
2003-01-11 11:52:19 +00:00
|
|
|
:
|
|
|
|
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
|
2003-01-21 12:21:35 +00:00
|
|
|
<threading>multi
|
2003-01-11 11:52:19 +00:00
|
|
|
:
|
|
|
|
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
|
2003-01-21 12:21:35 +00:00
|
|
|
<threading>multi
|
2003-01-11 11:52:19 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[ 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
|
2003-01-21 12:21:35 +00:00
|
|
|
<threading>multi
|
2003-01-11 11:52:19 +00:00
|
|
|
]
|
|
|
|
;
|
2002-12-28 12:51:48 +00:00
|
|
|
|
2003-01-21 12:21:35 +00:00
|
|
|
|