From 369c601a560f9c081e2bc04e4f4fe5a8b7b1a6a0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 16 Apr 2024 13:50:07 -0400 Subject: Invert escaping so user symbols get prepended with "$" and builtin symbols don't --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ce9ff6d5..96c33f44 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,11 @@ tags: test: tomo rm -f test/*.tm.[cho] - for f in $$(ls test/*.tm | shuf); do echo -e "\x1b[1;4m$$f\x1b[m"; VERBOSE=0 CC=tcc ./tomo "$$f" || break; done + for f in $$(ls test/*.tm | shuf); do echo -e "\x1b[1;4m$$f\x1b[m"; \ + if ! VERBOSE=0 CC=tcc ./tomo "$$f"; then \ + echo "FAILURE!"; break; \ + fi; \ + done; echo -e '\x1b[32;7m ALL TESTS PASSED! \x1b[m' clean: rm -f tomo *.o SipHash/halfsiphash.o builtins/*.o libtomo.so -- cgit v1.2.3