summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0a3d21af..c59bcee0 100644
--- a/Makefile
+++ b/Makefile
@@ -438,11 +438,12 @@ tst/%.ok: %.txr %.expected $(TXR)
$(if $(TXR_SCRIPT_ON_CMDLINE), \
$(TXR) $(TXR_DBG_OPTS) $(TXR_OPTS) -c "$$(cat $<)" \
$(TXR_ARGS) > $(TST_OUT), \
- $(TXR) $(TXR_DBG_OPTS) $(TXR_OPTS) $< $(TXR_ARGS) > $(TST_OUT)))
- $(call SH, \
- if ! diff -u $(TST_EXPECTED) $(TST_OUT) ; then \
- exit 1 ; \
- fi)
+ $(TXR) $(TXR_DBG_OPTS) $(TXR_OPTS) $< $(TXR_ARGS) > $(TST_OUT)) ; \
+ case $$? in \
+ ( 0 ) diff -u $(TST_EXPECTED) $(TST_OUT) ;; \
+ ( 13 ) printf "SKIP %s\n" $< ; exit 0 ;; \
+ ( * ) exit 1 ;; \
+ esac)
$(call SH,touch $@)
tst/%.ok: %.tl %.expected $(TXR)