aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2016-03-12 17:50:32 -0800
committerTim Newsome <tim@sifive.com>2016-05-23 12:12:10 -0700
commit824689f929a4148668aaab2b31fa87bf16e8c804 (patch)
treeede985e3e63e5f81b70c59f3a0d08a15b6d5ef19 /Makefile.in
parent3fc2f3d5435f6eddaa0670f5ab3c555508bca5bb (diff)
downloadspike-824689f929a4148668aaab2b31fa87bf16e8c804.zip
spike-824689f929a4148668aaab2b31fa87bf16e8c804.tar.gz
spike-824689f929a4148668aaab2b31fa87bf16e8c804.tar.bz2
Flush icache when using swbps and report to gdb.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index d6b0496..1e353ab 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -121,7 +121,7 @@ INSTALL_EXE := $(INSTALL) -m 555
STOW := @stow@
# Tests
-bintests =
+bintests = tests/gdbserver-smoke.py
#-------------------------------------------------------------------------
# Include subproject makefile fragments
@@ -333,8 +333,9 @@ deps : $(deps)
#-------------------------------------------------------------------------
bintest_outs = $(bintests:=.out)
-%.out: %
- $^ < /dev/null > $@ 2>&1
+junk += $(bintest_outs)
+%.out: % all
+ ./$^ < /dev/null 2>&1 | tee $@
check-cpp : $(test_outs)
echo; grep -h -e'Unit Tests' -e'FAILED' -e'Segmentation' $^ < /dev/null; echo