projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
048cb8b
)
[gdb/testsuite] Fix gdb.base/info-types-c++.exp with stressed cpu
author
Tom de Vries
<tdevries@suse.de>
Fri, 8 Oct 2021 22:40:46 +0000
(
00:40
+0200)
committer
Tom de Vries
<tdevries@suse.de>
Fri, 8 Oct 2021 22:40:46 +0000
(
00:40
+0200)
When running test-case gdb.base/info-types-c++.exp in conjunction with:
...
$ stress -c $(($(cat /proc/cpuinfo | grep -c "^processor") + 1))
...
we get:
...
FAIL: gdb.base/info-types-c++.exp: info types (timeout)
...
Fix this by setting auto-solib-add to off.
Tested on x86_64-linux.
gdb/testsuite/gdb.base/info-types.exp.tcl
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.base/info-types.exp.tcl
b/gdb/testsuite/gdb.base/info-types.exp.tcl
index 42dccf60473e805ca07f0f802977f0661fb57c8d..b68a95c36128b898fdd4d3ce1d904bf82fe7bbee 100644
(file)
--- a/
gdb/testsuite/gdb.base/info-types.exp.tcl
+++ b/
gdb/testsuite/gdb.base/info-types.exp.tcl
@@
-32,6
+32,7
@@
proc run_test { lang } {
"${testfile}" $srcfile "debug $lang"]} {
return -1
}
+ gdb_test_no_output "set auto-solib-add off"
if ![runto_main] then {
return 0