mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
[TravisCI] Don't run the python binding system tests when building
with UBSan. This is a workaround. We can't fix this unless we build libz3 with a shared UBSan runtime.
This commit is contained in:
parent
f756bf6c86
commit
9455391f1f
|
@ -10,6 +10,7 @@ set -o pipefail
|
||||||
: ${PYTHON_BINDINGS?"PYTHON_BINDINGS must be specified"}
|
: ${PYTHON_BINDINGS?"PYTHON_BINDINGS must be specified"}
|
||||||
: ${PYTHON_EXECUTABLE?"PYTHON_EXECUTABLE must be specified"}
|
: ${PYTHON_EXECUTABLE?"PYTHON_EXECUTABLE must be specified"}
|
||||||
: ${Z3_SYSTEM_TEST_DIR?"Z3_SYSTEM_TEST_DIR must be specified"}
|
: ${Z3_SYSTEM_TEST_DIR?"Z3_SYSTEM_TEST_DIR must be specified"}
|
||||||
|
: ${UBSAN_BUILD?"UBSAN_BUILD must be specified"}
|
||||||
|
|
||||||
if [ "X${RUN_SYSTEM_TESTS}" != "X1" ]; then
|
if [ "X${RUN_SYSTEM_TESTS}" != "X1" ]; then
|
||||||
echo "Skipping system tests"
|
echo "Skipping system tests"
|
||||||
|
@ -52,7 +53,13 @@ fi
|
||||||
|
|
||||||
if [ "X${PYTHON_BINDINGS}" = "X1" ]; then
|
if [ "X${PYTHON_BINDINGS}" = "X1" ]; then
|
||||||
# Run python binding tests
|
# Run python binding tests
|
||||||
${PYTHON_EXECUTABLE} scripts/test_pyscripts.py "${Z3_LIB_DIR}" regressions/python/
|
if [ "X${UBSAN_BUILD}" = "X1" ]; then
|
||||||
|
# FIXME: We need to build libz3 with a shared UBSan runtime for the bindings
|
||||||
|
# to work.
|
||||||
|
echo "FIXME: Skipping python binding tests when building with UBSan"
|
||||||
|
else
|
||||||
|
${PYTHON_EXECUTABLE} scripts/test_pyscripts.py "${Z3_LIB_DIR}" regressions/python/
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# FIXME: Run `scripts/test_cs.py` once it has been modified to support mono
|
# FIXME: Run `scripts/test_cs.py` once it has been modified to support mono
|
||||||
|
|
Loading…
Reference in a new issue