tests/tcg: fix silent skipping of softmmu gdb tests
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 11 Feb 2021 12:27:50 +0000 (12:27 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 15 Feb 2021 09:38:54 +0000 (09:38 +0000)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210211122750.22645-16-alex.bennee@linaro.org>

tests/tcg/multiarch/system/Makefile.softmmu-target

index 4657f6e4cf00ec1ed23bb0793fc0bd18a939b08e..625ed792c6d6664c540ab8f3550b728e43b5373c 100644 (file)
@@ -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