2
0
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:
Dmitry Arkhipov
2025-02-27 15:22:55 +03:00
parent 13d95270e9
commit 2ad2ed2627
2 changed files with 21 additions and 8 deletions

View File

@@ -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'

View File

@@ -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) ;