mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-03 11:54:02 +00:00
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:
parent
4291445377
commit
b1c846e41f
@ -417,9 +417,9 @@ ifndef WINDOWS
|
|||||||
do \
|
do \
|
||||||
echo " - $${i}"; \
|
echo " - $${i}"; \
|
||||||
RESULT=`$(CHECK_PRELOAD) ./$${i} | grep -v 'PASS$$' | grep -v -- '----' | grep -v '^$$'`; \
|
RESULT=`$(CHECK_PRELOAD) ./$${i} | grep -v 'PASS$$' | grep -v -- '----' | grep -v '^$$'`; \
|
||||||
FAILED=`echo $$RESULT |grep FAILED`; \
|
PASSED=`echo $$RESULT |grep PASSED`; \
|
||||||
echo " $$RESULT"; \
|
echo " $$RESULT"; \
|
||||||
if [ "$$FAILED" != "" ]; \
|
if [ "$$PASSED" == "" ]; \
|
||||||
then \
|
then \
|
||||||
echo "**** Failed ***************"; \
|
echo "**** Failed ***************"; \
|
||||||
RETURN=1; \
|
RETURN=1; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user