From fb4dd351c7ef2614076309d630e163ff963ac8bf Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 3 Dec 2018 13:53:14 -0600 Subject: misc: make checks always fatal This fixes #263. --- src/test/runtests.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/test') diff --git a/src/test/runtests.sh b/src/test/runtests.sh index 81edac2b..79c9a9b2 100755 --- a/src/test/runtests.sh +++ b/src/test/runtests.sh @@ -21,13 +21,10 @@ checkit() { ret=0 fail_on_out() { - # If FATAL_CHECKS is set, then fail when $out has output: - if [ -n "${FATAL_CHECKS}" ]; then - if [ -n "${out}" ]; then - eerror "Last command failed and FATAL_CHECKS is set; failing" - exit 1 - fi - fi + if [ -n "${out}" ]; then + eerror "Last command failed; failing" + exit 1 + fi } ebegin "Checking exported symbols in libeinfo.so (data)" -- cgit v1.2.3