Skip to content

Commit 9e37e6d

Browse files
committed
Add support for Skipped tests to Makefile.in
1 parent e0f33bd commit 9e37e6d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ tests/results:$(TEST_RESULT)
6565
@echo -------------- Test Results ---------------
6666
@cat tests/results
6767
@echo -------------------------------------------
68-
@ ! grep -qv OK tests/results
68+
@ ! grep -qv 'OK\|Skipped' tests/results
6969

7070

7171
#Build a test executable from a test program. On compile error,
@@ -87,6 +87,9 @@ tests/%.result_: tests/%.test
8787
if [ $$a -ge 128 and ] ; \
8888
then \
8989
echo Crash!! > $@ ; \
90+
elif [ $$a -eq 42 ] ;\
91+
then \
92+
echo Skipped > $@ ; \
9093
elif [ $$a -ne 126 ] ;\
9194
then \
9295
echo Failed > $@ ; \

0 commit comments

Comments
 (0)