projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite debug testing.
[riscv-tests.git]
/
debug
/
Makefile
diff --git
a/debug/Makefile
b/debug/Makefile
index 1d90e122895cef3c194ace4aa2e912e9e3e67ac6..4378aab1e4cea5772e7bd7cc842a2f877ee263d9 100644
(file)
--- a/
debug/Makefile
+++ b/
debug/Makefile
@@
-6,13
+6,14
@@
GDBSERVER_PY = $(src_dir)/gdbserver.py
default: spike$(XLEN).log
default: spike$(XLEN).log
-all: spike32.log spike64.log
+all:
pylint
spike32.log spike64.log
-
spike32.log
:
- $(GDBSERVER_PY) --isolate --spike32 --cmd $(RISCV_SIM) -- -v > $@ 2>&1
+
pylint
:
+ pylint --rcfile=pylint.rc *.py
-spike64.log:
- $(GDBSERVER_PY) --isolate --spike --cmd $(RISCV_SIM) -- -v > $@ 2>&1
+%.log:
+ $(GDBSERVER_PY) --isolate --$(subst .log,,$@) --cmd $(RISCV_SIM) \
+ > $@ 2>&1 || (sed s/^/$@:\ / $@ && false)
clean:
rm -f *.log
clean:
rm -f *.log