From 572c9d71cf66bb2097bce384b8cb3899af0b8473 Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Sat, 5 Sep 2020 16:29:18 +0200 Subject: add Makefile target, that runs all short tests --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5993ca6..dfc8aab 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,9 @@ endif TEST_TARGETS := $(addprefix test_,$(TESTS)) VGA_TEST_TARGETS := $(addprefix test_,$(TESTS_WITH_VGA)) +NO_VGA_TEST_TARGETS := $(foreach TARGET,$(TEST_TARGETS), \ + $(if $(filter $(TARGET),$(VGA_TEST_TARGETS)),,$(TARGET)) \ + ) TEST_LOGS := $(foreach TEST,$(TESTS),tests/$(TEST)/report.log) @@ -105,6 +108,8 @@ prog : design.bin test : $(TEST_TARGETS) +quicktest : $(NO_VGA_TEST_TARGETS) # VGA tests take loooong time + tests/%.mem : tests/%.memv $(IV) $(MACROASM_FLAGS) $^ -o $@ @@ -212,4 +217,4 @@ clean : -rm design.json design.v design.asc design.bin timing.rpt -rm $(TOOLS_TARGETS) -.PHONY : all tools test $(TEST_TARGETS) +.PHONY : all tools test quicktest $(TEST_TARGETS) -- cgit v1.2.3