From 310b74098821a099672712ad8dc899b4d71895cd Mon Sep 17 00:00:00 2001 From: Tim Fischer Date: Mon, 22 Jul 2024 09:43:58 +0200 Subject: [PATCH] test: Compile all tests by default --- .gitlab-ci.yml | 3 --- target/snitch_cluster/sw/tests/Makefile | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5b37408d4..8b28c61632 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,7 +124,6 @@ snitch-cluster-banshee: snitch-cluster-fdiv-vsim: script: - cd target/snitch_cluster - - make CFG_OVERRIDE=cfg/fdiv.hjson sw - make bin/snitch_cluster.vsim - ./util/run.py sw/fdiv.yaml --simulator vsim -j --run-dir runs/vsim # Run additional, more extensive tests @@ -134,7 +133,6 @@ snitch-cluster-fdiv-vsim: snitch-cluster-omega-vsim: script: - cd target/snitch_cluster - - make CFG_OVERRIDE=cfg/omega.hjson sw - make bin/snitch_cluster.vsim - ./util/run.py sw/run.yaml --simulator vsim -j --run-dir runs/vsim @@ -142,7 +140,6 @@ snitch-cluster-omega-vsim: snitch-cluster-mchan-vsim: script: - cd target/snitch_cluster - - 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 4768323eb4..4a944b8ef8 100644 --- a/target/snitch_cluster/sw/tests/Makefile +++ b/target/snitch_cluster/sw/tests/Makefile @@ -45,7 +45,7 @@ RISCV_LDFLAGS += -lsnRuntime ########### TEST_LIST ?= run.yaml -APPS = $(shell $(MK_DIR)/../../../../util/sim/list_apps.py --in-dir tests/ $(MK_DIR)/../$(TEST_LIST)) +APPS = $(basename $(notdir $(wildcard $(SRC_DIR)/*.c))) ELFS = $(abspath $(addprefix $(BUILDDIR)/,$(addsuffix .elf,$(APPS)))) DEPS = $(abspath $(addprefix $(BUILDDIR)/,$(addsuffix .d,$(APPS)))) DUMPS = $(abspath $(addprefix $(BUILDDIR)/,$(addsuffix .dump,$(APPS))))