mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 22:15:43 +01:00
- Adapted Makefile for buildbot
This commit is contained in:
parent
02adedb0b1
commit
d14cd35ece
@ -168,9 +168,18 @@ clean:
|
|||||||
|
|
||||||
check: $(APPS)
|
check: $(APPS)
|
||||||
echo "Running checks (Success if all tests PASSED)"
|
echo "Running checks (Success if all tests PASSED)"
|
||||||
|
RETURN=0; \
|
||||||
for i in $(APPS); \
|
for i in $(APPS); \
|
||||||
do \
|
do \
|
||||||
echo " - $${i}"; \
|
echo " - $${i}"; \
|
||||||
./$${i} | grep -v 'PASS$$' | grep -v -- '-----' | grep -v '^$$'; \
|
RESULT=`./$${i} | grep -v 'PASS$$' | grep -v -- '-----' | grep -v '^$$'`; \
|
||||||
|
FAILED=`echo $$RESULT |grep FAILED`; \
|
||||||
|
echo " $$RESULT"; \
|
||||||
|
if [ "$$FAILED" != "" ]; \
|
||||||
|
then \
|
||||||
|
echo "**** Failed ***************"; \
|
||||||
|
RETURN=1; \
|
||||||
|
fi; \
|
||||||
echo ""; \
|
echo ""; \
|
||||||
done
|
done; \
|
||||||
|
if [ "$$RETURN" -eq 1 ]; then exit 1; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user