From b1c846e41feabc3b601ebf35629148080b073520 Mon Sep 17 00:00:00 2001 From: Rich Evans Date: Mon, 2 Feb 2015 12:15:44 +0000 Subject: [PATCH] fix bug in makefile that a test doesn't count as a fail even if an assertion fails by inverting logic --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 850ff7bc72..6489e52b89 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -417,9 +417,9 @@ ifndef WINDOWS do \ echo " - $${i}"; \ RESULT=`$(CHECK_PRELOAD) ./$${i} | grep -v 'PASS$$' | grep -v -- '----' | grep -v '^$$'`; \ - FAILED=`echo $$RESULT |grep FAILED`; \ + PASSED=`echo $$RESULT |grep PASSED`; \ echo " $$RESULT"; \ - if [ "$$FAILED" != "" ]; \ + if [ "$$PASSED" == "" ]; \ then \ echo "**** Failed ***************"; \ RETURN=1; \