From 4c9227b39ebf4a677147b9f6fb81deb471e7ed20 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 13 Jul 2022 01:14:37 -0600 Subject: [PATCH] ci: "release only" tests are too slow to run with asan, at least for now --- build-linux-64.sh | 4 +++- build-osx.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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