From 8850b20417c8f61937d02b1122180534189762ab Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 29 Sep 2019 22:41:36 +0200 Subject: [PATCH] qa.sh: Exclude "make run-xmltest" for -DEXPAT_DTD=OFF --- expat/qa.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/expat/qa.sh b/expat/qa.sh index 011bdf7f..9525d51d 100755 --- a/expat/qa.sh +++ b/expat/qa.sh @@ -131,13 +131,15 @@ run_tests() { done fi - local make_env_args=( + local make_args=( CTEST_OUTPUT_ON_FAILURE=1 CTEST_PARALLEL_LEVEL=2 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_compile - run_tests + run_tests "$@" run_processor }