diff mbox series

[PULL,15/15] tests/tcg: fix silent skipping of softmmu gdb tests

Message ID 20210215094244.12716-16-alex.bennee@linaro.org
State Accepted
Commit 8886ff2844dc1a62dc4722ac65daf57c27dda2ee
Headers show
Series testing and gdbstub updates | expand

Commit Message

Alex Bennée Feb. 15, 2021, 9:42 a.m. UTC
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Message-Id: <20210211122750.22645-16-alex.bennee@linaro.org>

-- 
2.20.1
diff mbox series

Patch

diff --git a/tests/tcg/multiarch/system/Makefile.softmmu-target b/tests/tcg/multiarch/system/Makefile.softmmu-target
index 4657f6e4cf..625ed792c6 100644
--- a/tests/tcg/multiarch/system/Makefile.softmmu-target
+++ b/tests/tcg/multiarch/system/Makefile.softmmu-target
@@ -27,5 +27,9 @@  run-gdbstub-memory: memory
 		--bin $< --test $(MULTIARCH_SRC)/gdbstub/memory.py, \
 	"softmmu gdbstub support")
 
-MULTIARCH_RUNS += run-gdbstub-memory
+else
+run-gdbstub-%:
+	$(call skip-test, "gdbstub test $*", "need working gdb")
 endif
+
+MULTIARCH_RUNS += run-gdbstub-memory