aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-09-05 16:29:18 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-09-05 16:29:18 +0200
commit572c9d71cf66bb2097bce384b8cb3899af0b8473 (patch)
tree0b106d88cb78984b18a7af94d0c9e7c2c7165eb3 /Makefile
parent6295bacd000e00d7c569fdc64697a29561f1d2b1 (diff)
downloadAGH-engineering-thesis-572c9d71cf66bb2097bce384b8cb3899af0b8473.tar.gz
AGH-engineering-thesis-572c9d71cf66bb2097bce384b8cb3899af0b8473.zip
add Makefile target, that runs all short tests
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)