mirror of
https://github.com/boostorg/json.git
synced 2026-01-19 04:12:14 +00:00
special target for heavy tests
This commit is contained in:
@@ -89,9 +89,16 @@ echo '==================================> SCRIPT'
|
||||
|
||||
printf "add-auto-load-safe-path $PWD/bin.v2\n" > ~/.gdbinit
|
||||
|
||||
export B2_TARGETS=${B2_TARGETS:-"libs/$SELF/test libs/$SELF/example"}
|
||||
export special_targets=$B2_TARGETS
|
||||
export B2_TARGETS=${B2_TARGETS:-"libs/$SELF/test//common libs/$SELF/example"}
|
||||
$BOOST_ROOT/libs/$SELF/ci/travis/build.sh
|
||||
|
||||
if [ -z "$special_targets" ]; then
|
||||
export B2_JOBS=1
|
||||
export B2_TARGETS="libs/$SELF/test//heavy"
|
||||
$BOOST_ROOT/libs/$SELF/ci/travis/build.sh
|
||||
fi
|
||||
|
||||
elif [ "$DRONE_JOB_BUILDTYPE" == "docs" ]; then
|
||||
|
||||
echo '==================================> INSTALL'
|
||||
|
||||
20
test/Jamfile
20
test/Jamfile
@@ -34,7 +34,6 @@ local SOURCES =
|
||||
object.cpp
|
||||
parse.cpp
|
||||
parser.cpp
|
||||
parse_into.cpp
|
||||
pilfer.cpp
|
||||
pointer.cpp
|
||||
result_for.cpp
|
||||
@@ -68,13 +67,17 @@ project
|
||||
|
||||
for local f in $(SOURCES)
|
||||
{
|
||||
local extra-reqs ;
|
||||
if $(f) = parse_into.cpp
|
||||
{
|
||||
extra-reqs += <toolset>msvc:<cxxflags>/bigobj ;
|
||||
}
|
||||
run $(f) main.cpp /boost/json//boost_json ;
|
||||
}
|
||||
|
||||
run $(f) main.cpp /boost/json//boost_json : requirements $(extra-reqs) ;
|
||||
local HEAVY_SOURCES =
|
||||
parse_into.cpp
|
||||
;
|
||||
for local f in $(HEAVY_SOURCES)
|
||||
{
|
||||
run $(f) main.cpp /boost/json//boost_json
|
||||
: requirements <toolset>msvc:<cxxflags>/bigobj
|
||||
;
|
||||
}
|
||||
|
||||
run limits.cpp main.cpp /boost/json//json_sources
|
||||
@@ -99,3 +102,6 @@ boost-pretty-printers.test-gdb-printers gdb-printers
|
||||
: <dependency>../src/boost_json_gdb_printers.py
|
||||
;
|
||||
explicit gdb-printers ;
|
||||
|
||||
alias common : $(SOURCES:B) limits no_exceptions intrusive_macros ;
|
||||
alias heavy : $(HEAVY_SOURCES:B) ;
|
||||
|
||||
Reference in New Issue
Block a user