aboutsummaryrefslogtreecommitdiff
path: root/debug/Makefile
diff options
context:
space:
mode:
authorMarek Vrbka <marek.vrbka@codasip.com>2023-06-13 15:05:51 +0200
committerMarek Vrbka <marek.vrbka@codasip.com>2023-06-27 14:28:47 +0200
commit0009a2612c532d5fcd057cde091ee1eb692af25e (patch)
tree12bef53767bd92c58af6d8ef4e5e80501c744c6f /debug/Makefile
parent7b52ba3b7167acb4d8b38f4d4633112b4699cb26 (diff)
downloadriscv-tests-0009a2612c532d5fcd057cde091ee1eb692af25e.zip
riscv-tests-0009a2612c532d5fcd057cde091ee1eb692af25e.tar.gz
riscv-tests-0009a2612c532d5fcd057cde091ee1eb692af25e.tar.bz2
Add a way to exclude tests by specifying an exclusion file
This patch adds a way to specify a yaml file which specifies either for each target individually or for all targets to exclude tests. Example file format is included in excluded.yaml.example.
Diffstat (limited to 'debug/Makefile')
-rw-r--r--debug/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/Makefile b/debug/Makefile
index 06f7d9d..172defe 100644
--- a/debug/Makefile
+++ b/debug/Makefile
@@ -23,7 +23,8 @@ run.%:
--isolate \
--print-failures \
--sim_cmd $(RISCV)/bin/$(RISCV_SIM) \
- --server_cmd $(RISCV)/bin/openocd
+ --server_cmd $(RISCV)/bin/openocd \
+ $(if $(EXCLUDE_TESTS),--exclude-tests $(EXCLUDE_TESTS))
# Target to check all the multicore options.
multi-tests: spike32-2 spike32-2-hwthread