aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-09-23 21:40:16 +0200
committerTom de Vries <tdevries@suse.de>2024-09-23 21:40:16 +0200
commitb9155b800c6be57a7f4933a4fd8c5c5d51414e77 (patch)
treeb9015e62b015bfd6b6e08ad3176f94d0e442e6d7 /gdb/testsuite/gdb.python
parent43a1fffa62060ce640749dcc9fc17058069ccba6 (diff)
downloadgdb-b9155b800c6be57a7f4933a4fd8c5c5d51414e77.zip
gdb-b9155b800c6be57a7f4933a4fd8c5c5d51414e77.tar.gz
gdb-b9155b800c6be57a7f4933a4fd8c5c5d51414e77.tar.bz2
[gdb/testsuite] Fix timeout in gdb.fortran/info-types.exp
When running the testsuite in an enviroment that simulates a stressed system, I ran into a timeout in test-case gdb.fortran/info-types.exp: ... (gdb) info types^M FAIL: gdb.fortran/info-types.exp: info types (timeout) ... This is mainly due the presence of glibc debug info. With it installed, I get: ... $ time gdb -q -batch -x outputs/gdb.fortran/info-types/gdb.in.1 > /dev/null real 0m35.969s user 0m38.231s sys 0m1.007s ... and without: ... $ time gdb -q -batch -x outputs/gdb.fortran/info-types/gdb.in.1 > /dev/null real 0m4.782s user 0m5.014s sys 0m0.304s ... Fix this by not running to main, which gets us: ... $ time gdb -q -batch -x outputs/gdb.fortran/info-types/gdb.in.1 > /dev/null real 0m0.808s user 0m0.789s sys 0m0.137s ... Likewise in gdb.mi/mi-sym-info.exp and gdb.mi/mi-complete.exp. Tested on x86_64-linux. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions