qa.sh: Exclude "make run-xmltest" for -DEXPAT_DTD=OFF
This commit is contained in:
parent
ae87321020
commit
8850b20417
@ -131,13 +131,15 @@ run_tests() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local make_env_args=(
|
local make_args=(
|
||||||
CTEST_OUTPUT_ON_FAILURE=1
|
CTEST_OUTPUT_ON_FAILURE=1
|
||||||
CTEST_PARALLEL_LEVEL=2
|
CTEST_PARALLEL_LEVEL=2
|
||||||
VERBOSE=1
|
VERBOSE=1
|
||||||
|
test
|
||||||
)
|
)
|
||||||
|
[[ $* =~ -DEXPAT_DTD=OFF ]] || make_args+=( run-xmltest )
|
||||||
|
|
||||||
RUN "${MAKE}" "${make_env_args[@]}" test run-xmltest
|
RUN "${MAKE}" "${make_args[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -180,7 +182,7 @@ run() {
|
|||||||
|
|
||||||
run_cmake "$@"
|
run_cmake "$@"
|
||||||
run_compile
|
run_compile
|
||||||
run_tests
|
run_tests "$@"
|
||||||
run_processor
|
run_processor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user