fix bug in makefile that a test doesn't count as a fail even if an assertion fails by inverting logic

This commit is contained in:
Rich Evans 2015-02-02 12:15:44 +00:00
parent 4291445377
commit b1c846e41f

View file

@ -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; \