diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2020-01-23 15:31:27 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-02-13 17:39:21 +0000 |
commit | ef364f008625e67810ec3961a74fe040defd25b0 (patch) | |
tree | 670f157e01a9cbd5c60c2d37cdd15cf1b464eab4 /scripts/build | |
parent | fc90ba706d4d15eb8337186524ff557f37b43fe8 (diff) | |
download | klee-ef364f008625e67810ec3961a74fe040defd25b0.tar.gz |
Do not wait if SANITIZER_BUILD is empty
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/run-tests.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build/run-tests.sh b/scripts/build/run-tests.sh index b2062c2a..2cfd037f 100755 --- a/scripts/build/run-tests.sh +++ b/scripts/build/run-tests.sh @@ -58,8 +58,10 @@ run_tests() { coverage_setup "${build_dir}" fi - if [[ -n "${SANITIZER_BUILD+x}" ]]; then - for num in {1..10}; do sleep 120; echo 'Keep Travis alive'; done & + if [[ -n "${SANITIZER_BUILD+x}" ]]; then # Check for existance of variable + if [[ -n "${SANITIZER_BUILD}" ]]; then # Check for variable not being empty string + for num in {1..10}; do sleep 120; echo 'Keep Travis alive'; done & + fi fi make systemtests || return 1 |