mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
tests: fix assert-msg-test with custom gdbinit
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 <marcandre.lureau@redhat.com>
This commit is contained in:
parent
8df369612d
commit
13acc3176b
@ -102,7 +102,7 @@ class TestAssertMessage(unittest.TestCase):
|
|||||||
if self.__gdb is None:
|
if self.__gdb is None:
|
||||||
return Result(None, "", "")
|
return Result(None, "", "")
|
||||||
|
|
||||||
argv = ["gdb", "--batch"]
|
argv = ["gdb", "-n", "--batch"]
|
||||||
argv.extend(args)
|
argv.extend(args)
|
||||||
print("Running:", argv)
|
print("Running:", argv)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user