aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-04-16 13:50:07 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-04-16 13:50:07 -0400
commit369c601a560f9c081e2bc04e4f4fe5a8b7b1a6a0 (patch)
treeaeaa5f7a1af83e25de99187f6e4c31e0609de65b /Makefile
parent98b93bb15922974feb06103bea06ec305e17b2ce (diff)
Invert escaping so user symbols get prepended with "$" and builtin
symbols don't
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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