bjam variant names are global

This commit is contained in:
Vinnie Falco committed 2019-02-19 16:27:27 -08:00
1 parent a5adc328e4
commit 8f536f173c
3 files changed
+11 -11

No files matched your search

+5 -5
View File
@@ -99,9 +99,9 @@ INC_DIR="$BOOST_ROOT/boost/beast"
function build_bjam ()
{
if [[ $VARIANT == "coverage" ]] || \
[[ $VARIANT == "valgrind" ]] || \
[[ $VARIANT == "ubasan" ]]; then
if [[ $VARIANT == "beast_coverage" ]] || \
[[ $VARIANT == "beast_valgrind" ]] || \
[[ $VARIANT == "beast_ubasan" ]]; then
b2 \
define=BOOST_COROUTINES_NO_DEPRECATION_WARNING=1 \
cxxstd=$CXXSTD \
@@ -126,7 +126,7 @@ function build_bjam ()
build_bjam
if [[ $VARIANT == "coverage" ]]; then
if [[ $VARIANT == "beast_coverage" ]]; then
# for lcov to work effectively, the paths and includes
# passed to the compiler should not contain "." or "..".
# (this runs in $BOOST_ROOT)
@@ -143,7 +143,7 @@ if [[ $VARIANT == "coverage" ]]; then
~/.local/bin/codecov -X gcov -f lcov.info
find "$BOOST_ROOT" -name "*.gcda" | xargs rm -f
elif [[ $VARIANT == "valgrind" ]]; then
elif [[ $VARIANT == "beast_valgrind" ]]; then
run_tests_with_valgrind "$BIN_DIR" fat-tests
else