From 3433ac8bd34f302cec30f7d2faeb00a9c77e5ef8 Mon Sep 17 00:00:00 2001 From: Carlos Maniero Date: Tue, 18 Apr 2023 09:41:29 -0300 Subject: tests: Include lexer's number tokenizer tests Signed-off-by: Carlos Maniero Reviewed-by: Johnny Richard --- test/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/Makefile') 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 $@ -- cgit v1.2.3