aboutsummaryrefslogtreecommitdiff
path: root/ci/common/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/common/build.sh')
-rw-r--r--ci/common/build.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/ci/common/build.sh b/ci/common/build.sh
index bdbe012ca6..8e9b2f8ebb 100644
--- a/ci/common/build.sh
+++ b/ci/common/build.sh
@@ -84,12 +84,11 @@ build_nvim() {
fi
# Invoke nvim to trigger *San early.
- if ! (bin/nvim --version && bin/nvim -u NONE -e -c ':qall') ; then
- asan_check "${LOG_DIR}"
+ if ! (bin/nvim --version && bin/nvim -u NONE -e -cq | cat -vet) ; then
+ check_sanitizer "${LOG_DIR}"
exit 1
fi
- asan_check "${LOG_DIR}"
-
+ check_sanitizer "${LOG_DIR}"
cd "${TRAVIS_BUILD_DIR}"
}