Blame SOURCES/gdb-6.6-testsuite-timeouts.patch

93189d
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
93189d
From: Fedora GDB patches <invalid@email.com>
93189d
Date: Fri, 27 Oct 2017 21:07:50 +0200
93189d
Subject: gdb-6.6-testsuite-timeouts.patch
93189d
93189d
;; Avoid too long timeouts on failing cases of "annota1.exp annota3.exp".
93189d
;;=fedoratest
93189d
93189d
diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp
93189d
--- a/gdb/testsuite/gdb.base/annota1.exp
93189d
+++ b/gdb/testsuite/gdb.base/annota1.exp
93189d
@@ -39,6 +39,8 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
93189d
 
93189d
 clean_restart ${binfile}
93189d
 
93189d
+gdb_test "set breakpoint pending off" "" "Avoid lockup on nonexisting functions"
93189d
+
93189d
 # The commands we test here produce many lines of output; disable "press 
93189d
 # <return> to continue" prompts.
93189d
 gdb_test_no_output "set height 0"
93189d
diff --git a/gdb/testsuite/gdb.base/annota3.exp b/gdb/testsuite/gdb.base/annota3.exp
93189d
--- a/gdb/testsuite/gdb.base/annota3.exp
93189d
+++ b/gdb/testsuite/gdb.base/annota3.exp
93189d
@@ -38,6 +38,8 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
93189d
 
93189d
 clean_restart ${binfile}
93189d
 
93189d
+gdb_test "set breakpoint pending off" "" "Avoid lockup on nonexisting functions"
93189d
+
93189d
 # The commands we test here produce many lines of output; disable "press 
93189d
 # <return> to continue" prompts.
93189d
 gdb_test_no_output "set height 0"