diff options
author | Tom de Vries <tdevries@suse.de> | 2021-09-25 09:28:57 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-09-25 09:28:57 +0200 |
commit | 98bf5c02cfe9d13428a55c0da8d5f150d7c1fc54 (patch) | |
tree | dd14355db3a17a81c81669abf4ad792fb733615e /gdb/testsuite/gdb.cp/cplusfuncs.exp | |
parent | 99d0d99649c12b2bdccaeb788d5d0f0d0dff4d5d (diff) | |
download | binutils-gdb-98bf5c02cfe9d13428a55c0da8d5f150d7c1fc54.tar.gz |
[gdb/testsuite] Minimize gdb restarts
Minimize gdb restarts, applying the following rules:
- don't use prepare_for_testing unless necessary
- don't use clean_restart unless necessary
Also, if possible, replace build_for_executable + clean_restart
with prepare_for_testing for brevity.
Touches 68 test-cases.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.cp/cplusfuncs.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/cplusfuncs.exp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/cplusfuncs.exp b/gdb/testsuite/gdb.cp/cplusfuncs.exp index 73740155305..7d021a7ed8c 100644 --- a/gdb/testsuite/gdb.cp/cplusfuncs.exp +++ b/gdb/testsuite/gdb.cp/cplusfuncs.exp @@ -581,8 +581,6 @@ proc do_tests {} { global binfile global dm_type_int_star - clean_restart $binfile - gdb_test_no_output "set width 0" runto_main |