mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
[TravisCI] Swap run_quiet
and run_non_native_binding
. In the
previous order `grep` inside `run_quiet` would get ASan LD_PRELOAD'ed which would sometimes fail.
This commit is contained in:
parent
ecadef6e48
commit
ead6e56d15
|
@ -68,17 +68,17 @@ if [ "X${PYTHON_BINDINGS}" = "X1" ]; then
|
||||||
# Too slow when doing ASan Debug build
|
# Too slow when doing ASan Debug build
|
||||||
echo "Skipping all_interval_series.py under ASan Debug build"
|
echo "Skipping all_interval_series.py under ASan Debug build"
|
||||||
else
|
else
|
||||||
run_non_native_binding run_quiet ${PYTHON_EXECUTABLE} python/all_interval_series.py
|
run_quiet run_non_native_binding ${PYTHON_EXECUTABLE} python/all_interval_series.py
|
||||||
fi
|
fi
|
||||||
run_non_native_binding run_quiet ${PYTHON_EXECUTABLE} python/complex.py
|
run_quiet run_non_native_binding ${PYTHON_EXECUTABLE} python/complex.py
|
||||||
run_non_native_binding run_quiet ${PYTHON_EXECUTABLE} python/example.py
|
run_quiet run_non_native_binding ${PYTHON_EXECUTABLE} python/example.py
|
||||||
# FIXME: `hamiltonian.py` example is disabled because its too slow.
|
# FIXME: `hamiltonian.py` example is disabled because its too slow.
|
||||||
#${PYTHON_EXECUTABLE} python/hamiltonian.py
|
#${PYTHON_EXECUTABLE} python/hamiltonian.py
|
||||||
run_non_native_binding run_quiet ${PYTHON_EXECUTABLE} python/marco.py
|
run_quiet run_non_native_binding ${PYTHON_EXECUTABLE} python/marco.py
|
||||||
run_non_native_binding run_quiet ${PYTHON_EXECUTABLE} python/mss.py
|
run_quiet run_non_native_binding ${PYTHON_EXECUTABLE} python/mss.py
|
||||||
run_non_native_binding run_quiet ${PYTHON_EXECUTABLE} python/socrates.py
|
run_quiet run_non_native_binding ${PYTHON_EXECUTABLE} python/socrates.py
|
||||||
run_non_native_binding run_quiet ${PYTHON_EXECUTABLE} python/visitor.py
|
run_quiet run_non_native_binding ${PYTHON_EXECUTABLE} python/visitor.py
|
||||||
run_non_native_binding run_quiet ${PYTHON_EXECUTABLE} python/z3test.py
|
run_quiet run_non_native_binding ${PYTHON_EXECUTABLE} python/z3test.py
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X${DOTNET_BINDINGS}" = "X1" ]; then
|
if [ "X${DOTNET_BINDINGS}" = "X1" ]; then
|
||||||
|
@ -86,7 +86,7 @@ if [ "X${DOTNET_BINDINGS}" = "X1" ]; then
|
||||||
# FIXME: Move compliation step into CMake target
|
# FIXME: Move compliation step into CMake target
|
||||||
mcs ${Z3_SRC_DIR}/examples/dotnet/Program.cs /target:exe /out:dotnet_test.exe /reference:Microsoft.Z3.dll /r:System.Numerics.dll
|
mcs ${Z3_SRC_DIR}/examples/dotnet/Program.cs /target:exe /out:dotnet_test.exe /reference:Microsoft.Z3.dll /r:System.Numerics.dll
|
||||||
# Run .NET example
|
# Run .NET example
|
||||||
run_non_native_binding run_quiet mono ./dotnet_test.exe
|
run_quiet run_non_native_binding mono ./dotnet_test.exe
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X${JAVA_BINDINGS}" = "X1" ]; then
|
if [ "X${JAVA_BINDINGS}" = "X1" ]; then
|
||||||
|
@ -108,8 +108,8 @@ if [ "X${JAVA_BINDINGS}" = "X1" ]; then
|
||||||
# so don't run it for now.
|
# so don't run it for now.
|
||||||
echo "Skipping JavaExample under ASan build"
|
echo "Skipping JavaExample under ASan build"
|
||||||
else
|
else
|
||||||
run_non_native_binding \
|
|
||||||
run_quiet \
|
run_quiet \
|
||||||
|
run_non_native_binding \
|
||||||
java -cp .:examples/java:com.microsoft.z3.jar JavaExample
|
java -cp .:examples/java:com.microsoft.z3.jar JavaExample
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue