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/rvalue-ref-params.exp | |
parent | 99d0d99649c12b2bdccaeb788d5d0f0d0dff4d5d (diff) | |
download | gdb-98bf5c02cfe9d13428a55c0da8d5f150d7c1fc54.zip gdb-98bf5c02cfe9d13428a55c0da8d5f150d7c1fc54.tar.gz gdb-98bf5c02cfe9d13428a55c0da8d5f150d7c1fc54.tar.bz2 |
[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/rvalue-ref-params.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/rvalue-ref-params.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/rvalue-ref-params.exp b/gdb/testsuite/gdb.cp/rvalue-ref-params.exp index 1fd3edb..e806662 100644 --- a/gdb/testsuite/gdb.cp/rvalue-ref-params.exp +++ b/gdb/testsuite/gdb.cp/rvalue-ref-params.exp @@ -20,7 +20,7 @@ if {[skip_cplus_tests]} { continue } standard_testfile .cc -if {[prepare_for_testing $testfile.exp $testfile $srcfile \ +if {[build_executable $testfile.exp $testfile $srcfile \ {debug c++ additional_flags="-std=gnu++11"}] == -1} { return -1 } |