diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e8f45cb18..a5b37408d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -142,7 +142,7 @@ snitch-cluster-omega-vsim: snitch-cluster-mchan-vsim: script: - cd target/snitch_cluster - - make CFG_OVERRIDE=cfg/dma_mchan.hjson sw + - make CFG_OVERRIDE=cfg/dma_mchan.hjson TEST_LIST=dma_mchan.yaml sw - make bin/snitch_cluster.vsim - ./util/run.py sw/dma_mchan.yaml --simulator vsim -j --run-dir runs/vsim diff --git a/target/snitch_cluster/sw/tests/Makefile b/target/snitch_cluster/sw/tests/Makefile index b2d16fbacd..4768323eb4 100644 --- a/target/snitch_cluster/sw/tests/Makefile +++ b/target/snitch_cluster/sw/tests/Makefile @@ -44,7 +44,8 @@ RISCV_LDFLAGS += -lsnRuntime # Outputs # ########### -APPS = $(shell $(MK_DIR)/../../../../util/sim/list_apps.py --in-dir tests/ ../run.yaml) +TEST_LIST ?= run.yaml +APPS = $(shell $(MK_DIR)/../../../../util/sim/list_apps.py --in-dir tests/ $(MK_DIR)/../$(TEST_LIST)) ELFS = $(abspath $(addprefix $(BUILDDIR)/,$(addsuffix .elf,$(APPS)))) DEPS = $(abspath $(addprefix $(BUILDDIR)/,$(addsuffix .d,$(APPS)))) DUMPS = $(abspath $(addprefix $(BUILDDIR)/,$(addsuffix .dump,$(APPS))))