ci: asan_check: No-op unless performing ASAN build

This commit is contained in:
James McCoy 2018-01-01 21:46:44 -05:00
parent d162815ca9
commit dd0fa4fd0e
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
1 changed files with 3 additions and 1 deletions

View File

@ -71,7 +71,9 @@ valgrind_check() {
}
asan_check() {
check_logs "${1}" "*san.*" | asan_symbolize
if test "${CLANG_SANITIZER}" = "ASAN_UBSAN" ; then
check_logs "${1}" "*san.*" | asan_symbolize
fi
}
run_unittests() {(