From e5b61527ca7b84375b7727125c6cffabf536d680 Mon Sep 17 00:00:00 2001 From: Nikolay Khabarov <2xl@mail.ru> Date: Sun, 14 May 2017 03:21:16 +0300 Subject: [PATCH] print test status --- runtests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index e9022b2..975b555 100755 --- a/runtests.sh +++ b/runtests.sh @@ -12,11 +12,13 @@ echo '* light up on pullup, set, and DMA test events. *' echo '**********************************************************************' echo '---------------------------Unit tests---------------------------------' python -m unittest discover "$@" --pattern="test_*.py" -echo '-----------------------Integration tests------------------------------' +echo '-------------------------Integration tests----------------------------' res="$(pycnc tests/rects.gcode 2>&1)" res="$res$(pycnc tests/test_parser.gcode 2>&1)" if echo "$res" | grep -q -i error; then + echo "FAILED" echo "$res" exit 1 fi +echo "OK"