diff options
author | Tom de Vries <tdevries@suse.de> | 2021-10-09 00:40:46 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-10-09 00:40:46 +0200 |
commit | b886031bd2bb19b304c3d14594bfc8a4107a6c28 (patch) | |
tree | 486babb52f5d28ad2fee63a1b547a01d3b7e8c2b | |
parent | 048cb8b4666f8bb93649a1e0b4b8889b1e5f8073 (diff) | |
download | binutils-b886031bd2bb19b304c3d14594bfc8a4107a6c28.zip binutils-b886031bd2bb19b304c3d14594bfc8a4107a6c28.tar.gz binutils-b886031bd2bb19b304c3d14594bfc8a4107a6c28.tar.bz2 |
[gdb/testsuite] Fix gdb.base/info-types-c++.exp with stressed cpu
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.
-rw-r--r-- | gdb/testsuite/gdb.base/info-types.exp.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/info-types.exp.tcl b/gdb/testsuite/gdb.base/info-types.exp.tcl index 42dccf6..b68a95c 100644 --- 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 |