aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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)