diff --git a/build-linux-64.sh b/build-linux-64.sh index 754a5ec7..751034a8 100755 --- a/build-linux-64.sh +++ b/build-linux-64.sh @@ -38,7 +38,9 @@ cpack || exit 1 # run tests ./tests/tests || exit 1 -./tests/tests [.] || exit 1 # run hidden tests (releaseonly) +if [ "$USE_ASAN" != "YES" ]; then + ./tests/tests [.] || exit 1 # run hidden tests (releaseonly) +fi # check rpath readelf -d ./light/light diff --git a/build-osx.sh b/build-osx.sh index f7cff77c..e733bc3b 100755 --- a/build-osx.sh +++ b/build-osx.sh @@ -52,4 +52,6 @@ otool -L ./bsputil/bsputil # run tests ./tests/tests || exit 1 -./tests/tests [.] || exit 1 # run hidden tests (releaseonly) +if [ "$USE_ASAN" != "YES" ]; then + ./tests/tests [.] || exit 1 # run hidden tests (releaseonly) +fi