forked from boostorg/regex
stripped tabs from files
[SVN r21011]
This commit is contained in:
@ -19,7 +19,7 @@ rule regex-test-run ( sources + : input * )
|
||||
$(input)
|
||||
: # test-files
|
||||
: # requirements
|
||||
<threading>multi
|
||||
<threading>multi
|
||||
: # test name
|
||||
] ;
|
||||
}
|
||||
|
@ -6,22 +6,22 @@ SOURCES = command_line main time_boost time_greta time_localised_boost time_pcre
|
||||
|
||||
if $(HS_REGEX_PATH)
|
||||
{
|
||||
HS_SOURCES = $(HS_REGEX_PATH)/regcomp.c $(HS_REGEX_PATH)/regerror.c $(HS_REGEX_PATH)/regexec.c $(HS_REGEX_PATH)/regfree.c ;
|
||||
POSIX_OPTS = <define>BOOST_HAS_POSIX=1 <include>$(HS_REGEX_PATH) ;
|
||||
HS_SOURCES = $(HS_REGEX_PATH)/regcomp.c $(HS_REGEX_PATH)/regerror.c $(HS_REGEX_PATH)/regexec.c $(HS_REGEX_PATH)/regfree.c ;
|
||||
POSIX_OPTS = <define>BOOST_HAS_POSIX=1 <include>$(HS_REGEX_PATH) ;
|
||||
}
|
||||
else if $(USE_POSIX)
|
||||
{
|
||||
POSIX_OPTS = <define>BOOST_HAS_POSIX=1 ;
|
||||
POSIX_OPTS = <define>BOOST_HAS_POSIX=1 ;
|
||||
}
|
||||
|
||||
if $(PCRE_PATH)
|
||||
{
|
||||
PCRE_SOURCES = $(PCRE_PATH)/chartables.c $(PCRE_PATH)/get.c $(PCRE_PATH)/pcre.c $(PCRE_PATH)/study.c ;
|
||||
PCRE_OPTS = <define>BOOST_HAS_PCRE=1 <include>$(PCRE_PATH) ;
|
||||
PCRE_SOURCES = $(PCRE_PATH)/chartables.c $(PCRE_PATH)/get.c $(PCRE_PATH)/pcre.c $(PCRE_PATH)/study.c ;
|
||||
PCRE_OPTS = <define>BOOST_HAS_PCRE=1 <include>$(PCRE_PATH) ;
|
||||
}
|
||||
else if $(USE_PCRE)
|
||||
{
|
||||
PCRE_OPTS = <define>BOOST_HAS_PCRE=1 <find-library>pcre ;
|
||||
PCRE_OPTS = <define>BOOST_HAS_PCRE=1 <find-library>pcre ;
|
||||
}
|
||||
|
||||
|
||||
|
@ -12,82 +12,82 @@ subproject libs/regex/test/auto-link-test ;
|
||||
import testing ;
|
||||
|
||||
run
|
||||
# sources
|
||||
<template>../../build/regex-options
|
||||
../regress/parse.cpp
|
||||
../regress/regress.cpp
|
||||
../regress/tests.cpp
|
||||
<lib>../../../test/build/boost_prg_exec_monitor
|
||||
# sources
|
||||
<template>../../build/regex-options
|
||||
../regress/parse.cpp
|
||||
../regress/regress.cpp
|
||||
../regress/tests.cpp
|
||||
<lib>../../../test/build/boost_prg_exec_monitor
|
||||
:
|
||||
: # input files
|
||||
../regress/tests.txt
|
||||
: # requirements
|
||||
<library-path>../../../../stage/lib
|
||||
<define>BOOST_LIB_DIAGNOSTIC=1
|
||||
: # program name
|
||||
regex_regress
|
||||
: # input files
|
||||
../regress/tests.txt
|
||||
: # requirements
|
||||
<library-path>../../../../stage/lib
|
||||
<define>BOOST_LIB_DIAGNOSTIC=1
|
||||
: # program name
|
||||
regex_regress
|
||||
|
||||
;
|
||||
|
||||
run
|
||||
# sources
|
||||
<template>../../build/regex-options
|
||||
../regress/parse.cpp
|
||||
../regress/regress.cpp
|
||||
../regress/tests.cpp
|
||||
<lib>../../../test/build/boost_prg_exec_monitor
|
||||
# sources
|
||||
<template>../../build/regex-options
|
||||
../regress/parse.cpp
|
||||
../regress/regress.cpp
|
||||
../regress/tests.cpp
|
||||
<lib>../../../test/build/boost_prg_exec_monitor
|
||||
:
|
||||
: # input files
|
||||
../regress/tests.txt
|
||||
: # requirements
|
||||
<library-path>../../../../stage/lib
|
||||
<define>TEST_UNICODE=1
|
||||
<define>BOOST_LIB_DIAGNOSTIC=1
|
||||
: # program name
|
||||
wide_regex_regress
|
||||
: # input files
|
||||
../regress/tests.txt
|
||||
: # requirements
|
||||
<library-path>../../../../stage/lib
|
||||
<define>TEST_UNICODE=1
|
||||
<define>BOOST_LIB_DIAGNOSTIC=1
|
||||
: # program name
|
||||
wide_regex_regress
|
||||
|
||||
;
|
||||
|
||||
# and now the dll versions:
|
||||
|
||||
run
|
||||
# sources
|
||||
<template>../../build/regex-options
|
||||
../regress/parse.cpp
|
||||
../regress/regress.cpp
|
||||
../regress/tests.cpp
|
||||
<lib>../../../test/build/boost_prg_exec_monitor
|
||||
# sources
|
||||
<template>../../build/regex-options
|
||||
../regress/parse.cpp
|
||||
../regress/regress.cpp
|
||||
../regress/tests.cpp
|
||||
<lib>../../../test/build/boost_prg_exec_monitor
|
||||
:
|
||||
: # input files
|
||||
../regress/tests.txt
|
||||
: # requirements
|
||||
<library-path>../../../../stage/lib
|
||||
<define>BOOST_ALL_DYN_LINK=1
|
||||
<runtime-link>dynamic
|
||||
<define>BOOST_LIB_DIAGNOSTIC=1
|
||||
: # program name
|
||||
regex_regress_dll
|
||||
: # input files
|
||||
../regress/tests.txt
|
||||
: # requirements
|
||||
<library-path>../../../../stage/lib
|
||||
<define>BOOST_ALL_DYN_LINK=1
|
||||
<runtime-link>dynamic
|
||||
<define>BOOST_LIB_DIAGNOSTIC=1
|
||||
: # program name
|
||||
regex_regress_dll
|
||||
|
||||
;
|
||||
|
||||
run
|
||||
# sources
|
||||
<template>../../build/regex-options
|
||||
../regress/parse.cpp
|
||||
../regress/regress.cpp
|
||||
../regress/tests.cpp
|
||||
<lib>../../../test/build/boost_prg_exec_monitor
|
||||
# sources
|
||||
<template>../../build/regex-options
|
||||
../regress/parse.cpp
|
||||
../regress/regress.cpp
|
||||
../regress/tests.cpp
|
||||
<lib>../../../test/build/boost_prg_exec_monitor
|
||||
:
|
||||
: # input files
|
||||
../regress/tests.txt
|
||||
: # requirements
|
||||
<define>BOOST_ALL_DYN_LINK=1
|
||||
<runtime-link>dynamic
|
||||
<library-path>../../../../stage/lib
|
||||
<define>TEST_UNICODE=1
|
||||
<define>BOOST_LIB_DIAGNOSTIC=1
|
||||
: # program name
|
||||
wide_regex_regress_dll
|
||||
: # input files
|
||||
../regress/tests.txt
|
||||
: # requirements
|
||||
<define>BOOST_ALL_DYN_LINK=1
|
||||
<runtime-link>dynamic
|
||||
<library-path>../../../../stage/lib
|
||||
<define>TEST_UNICODE=1
|
||||
<define>BOOST_LIB_DIAGNOSTIC=1
|
||||
: # program name
|
||||
wide_regex_regress_dll
|
||||
|
||||
;
|
||||
|
||||
|
@ -557,7 +557,7 @@ void cpp_tests(const basic_regex<C, T, A>& e, bool recurse = true)
|
||||
unsigned int hl_match_id;
|
||||
|
||||
bool
|
||||
#if defined(__BORLANDC__) || defined(BOOST_MSVC)
|
||||
#if (defined(__BORLANDC__) || defined(BOOST_MSVC)) && !defined(BOOST_DISABLE_WIN32)
|
||||
__cdecl
|
||||
#endif
|
||||
hl_grep_test_proc(const RegEx& e)
|
||||
|
Reference in New Issue
Block a user