diff options
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index 7a37dfe..51ece02 100644 --- a/test/Makefile +++ b/test/Makefile @@ -6,7 +6,9 @@ EXEC_TESTS := $(patsubst %_test, ./%_test, $(TESTS)) .PHONY: all all: munit.o $(TESTS) - $(EXEC_TESTS) + @for file in $(EXEC_TESTS); do \ + ./"$$file"; \ + done .PHONY: clean clean: @@ -14,3 +16,6 @@ clean: string_view_test: munit.o string_view_test.o ../build/string_view.o $(CC) $? $(CFLAGS) -o $@ + +lexer_test: munit.o lexer_test.o ../build/lexer.o ../build/string_view.o + $(CC) $? $(CFLAGS) -o $@ |