]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix a test failure in gdb.threads/stepi-over-clone.exp
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 1 Apr 2024 19:22:46 +0000 (21:22 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Thu, 4 Apr 2024 12:26:19 +0000 (14:26 +0200)
When the XML support was disabled at compile time,
the test case gdb.threads/stepi-over-clone.exp fails
with lots of time-outs, which can be annoying.
This makes the test case unsupported instead.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.threads/stepi-over-clone.exp

index 7f968171abb8b46dcb7634ebe4ef49b19a5998db..f671fd7b8bd227ca3b5d515ed8a218c5fda03de4 100644 (file)
@@ -39,6 +39,10 @@ gdb_test_multiple "catch syscall group:process" "catch process syscalls" {
        unsupported $gdb_test_name
        return
     }
+    -re "Can not parse XML syscalls information; XML support was disabled at compile time.*\r\n$gdb_prompt $" {
+       unsupported $gdb_test_name
+       return
+    }
     -re ".*$gdb_prompt $" {
        pass $gdb_test_name
     }