diff --git a/test/helpers.sh b/test/helpers.sh index 027fca9..7e80e3b 100644 --- a/test/helpers.sh +++ b/test/helpers.sh @@ -58,8 +58,10 @@ function ok() { function run_script() { info "Executing $1" - "$1" + rc=0 + "$1" || rc=1 echo + return $rc } function read_version_from_meson() {