mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
Merge branch 'skip-test-under-sandbox-2.74' into 'glib-2-74'
tests: Skip assert-msg-test.py if gdb fails See merge request GNOME/glib!3307
This commit is contained in:
commit
0559f4b8b6
@ -157,9 +157,9 @@ class TestAssertMessage(unittest.TestCase):
|
|||||||
|
|
||||||
# Some CI environments disable ptrace (as they’re running in a
|
# Some CI environments disable ptrace (as they’re running in a
|
||||||
# container). If so, skip the test as there’s nothing we can do.
|
# container). If so, skip the test as there’s nothing we can do.
|
||||||
if (
|
if result.info.returncode != 0 and (
|
||||||
result.info.returncode != 0
|
"ptrace: Operation not permitted" in result.err
|
||||||
and "ptrace: Operation not permitted" in result.err
|
or "warning: opening /proc/PID/mem file for lwp" in result.err
|
||||||
):
|
):
|
||||||
self.skipTest("GDB is not functional due to ptrace being disabled")
|
self.skipTest("GDB is not functional due to ptrace being disabled")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user