mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
[TravisCI] Fix running unit tests.
Previously the `test-z3` executable was run without arguments which appears to run no tests. To fix this the `/a` argument is passed which will run all tests that don't require arguments. This was noticed in #1159 when @KarenHuang2016 reported a failing test.
This commit is contained in:
parent
9f9c575451
commit
cbca609af4
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT_DIR="$( cd ${BASH_SOURCE[0]%/*} ; echo $PWD )"
|
SCRIPT_DIR="$( cd ${BASH_SOURCE[0]%/*} ; echo $PWD )"
|
||||||
|
. ${SCRIPT_DIR}/run_quiet.sh
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
set -e
|
set -e
|
||||||
|
@ -21,4 +22,5 @@ cd "${Z3_BUILD_DIR}"
|
||||||
|
|
||||||
# Build and run internal tests
|
# Build and run internal tests
|
||||||
cmake --build $(pwd) --target test-z3 "${GENERATOR_ARGS[@]}"
|
cmake --build $(pwd) --target test-z3 "${GENERATOR_ARGS[@]}"
|
||||||
./test-z3
|
# Run all tests that don't require arguments
|
||||||
|
run_quiet ./test-z3 /a
|
||||||
|
|
Loading…
Reference in a new issue