diff options
author | Tim Newsome <tim@sifive.com> | 2023-06-30 10:56:20 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2023-06-30 10:57:40 -0700 |
commit | 77d04b06ae509ca739dd16368a5b89a192a25bf0 (patch) | |
tree | 5fe89e6d5ef73c215c8004180b982421a6529e59 /debug/Makefile | |
parent | 247e2334ef60654ad53ca1dd0a688dc1f0fccd33 (diff) | |
download | riscv-tests-77d04b06ae509ca739dd16368a5b89a192a25bf0.zip riscv-tests-77d04b06ae509ca739dd16368a5b89a192a25bf0.tar.gz riscv-tests-77d04b06ae509ca739dd16368a5b89a192a25bf0.tar.bz2 |
debug: Don't rely on RISCV env
That made sense when mostly people used riscv-tools, but now they get
tools from all sorts of places and most of them are suitable for the
debug tests.
Also document RISCV_TESTS_DEBUG_GCC and RISCV_TESTS_DEBUG_GDB
environment variables in the README.
The github workflows that rely on these tests don't use the Makefile,
but instead invoke gdbserver.py directly, so they're not affected by
this change.
Fixes #481
Diffstat (limited to 'debug/Makefile')
-rw-r--r-- | debug/Makefile | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/debug/Makefile b/debug/Makefile index 172defe..5741362 100644 --- a/debug/Makefile +++ b/debug/Makefile @@ -1,4 +1,3 @@ -RISCV_SIM ?= spike XLEN ?= 64 src_dir ?= . @@ -22,8 +21,6 @@ run.%: $(word 3, $(subst ., ,$@)) \ --isolate \ --print-failures \ - --sim_cmd $(RISCV)/bin/$(RISCV_SIM) \ - --server_cmd $(RISCV)/bin/openocd \ $(if $(EXCLUDE_TESTS),--exclude-tests $(EXCLUDE_TESTS)) # Target to check all the multicore options. |