commit c5a90ca605af0ba1184aa3fe2899168e09438675
parent bc1e99e400b950c64ed57c91c0cc31f8d663c6af
Author: Mohammad-Reza Nabipoor <m.nabipoor@yahoo.com>
Date: Thu, 6 Aug 2020 08:06:25 +0430
Makefile: Run tests after build
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -9,6 +9,7 @@ tbin = kaleidoscope_lexer.test
.PHONY: all tests
all: tests
tests: $(tbin)
+ $(foreach t,$(tbin),./$(t);)
kaleidoscope_lexer.test.o: CXXFLAGS += $(tflags)
kaleidoscope_lexer.test.o: kaleidoscope_lexer.hpp $(catch2)