diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-05 16:29:18 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-09-05 16:29:18 +0200 |
commit | 572c9d71cf66bb2097bce384b8cb3899af0b8473 (patch) | |
tree | 0b106d88cb78984b18a7af94d0c9e7c2c7165eb3 /Makefile | |
parent | 6295bacd000e00d7c569fdc64697a29561f1d2b1 (diff) | |
download | AGH-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-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |