Skip to content

Commit

Permalink
test: Compile all tests by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Jul 22, 2024
1 parent 8fc56f4 commit 310b740
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -134,15 +133,13 @@ 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

# Test Multi-channel DMA
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

Expand Down
2 changes: 1 addition & 1 deletion target/snitch_cluster/sw/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand Down

0 comments on commit 310b740

Please sign in to comment.