From 13acc3176baf38b0e0df622c0c1a1816f41bea61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 12 Dec 2022 10:52:41 +0400 Subject: [PATCH] tests: fix assert-msg-test with custom gdbinit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As recommended by GDB on Fedora, I have "set debuginfod enabled on" in my .gdbinit. However, this make assert-msg-test time out. Let's ignore user gdbinit for the test, as this shouldn't be required and can easily break the test. Signed-off-by: Marc-André Lureau --- glib/tests/assert-msg-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/tests/assert-msg-test.py b/glib/tests/assert-msg-test.py index 825f58278..4936fa083 100755 --- a/glib/tests/assert-msg-test.py +++ b/glib/tests/assert-msg-test.py @@ -102,7 +102,7 @@ class TestAssertMessage(unittest.TestCase): if self.__gdb is None: return Result(None, "", "") - argv = ["gdb", "--batch"] + argv = ["gdb", "-n", "--batch"] argv.extend(args) print("Running:", argv)