diff options
author | Tom de Vries <tdevries@suse.de> | 2020-10-20 10:20:24 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-10-20 10:20:24 +0200 |
commit | 0cd2ad78f15e746bde8eb7d4c1b6bb5cb6c174cc (patch) | |
tree | f2f205e7c6b120686c26bfd1c5f7cf8eb588a204 /gdb/testsuite/gdb.dwarf2/dw2-error.exp | |
parent | b9e920ecd6f65bd37917b2f9e6d3fed9c8a60f66 (diff) | |
download | gdb-0cd2ad78f15e746bde8eb7d4c1b6bb5cb6c174cc.zip gdb-0cd2ad78f15e746bde8eb7d4c1b6bb5cb6c174cc.tar.gz gdb-0cd2ad78f15e746bde8eb7d4c1b6bb5cb6c174cc.tar.bz2 |
[gdb/testsuite] Use $gdb_test_file_name in gdb.dwarf2
In f.i. gdb.dwarf2/dw2-line-number-zero.exp we find:
...
verbose "Skipping dw2-line-number-zero test."
...
Make the skip messages use the gdb_test_file_name variable, to reduce the
amount of changes that needs to be made when coping a test-case.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-10-20 Tom de Vries <tdevries@suse.de>
* gdb.dwarf2/dw2-error.exp: Use $gdb_test_file_name.
* gdb.dwarf2/dw2-line-number-zero.exp: Same.
* gdb.dwarf2/dw2-main-no-line-number.exp: Same.
* gdb.dwarf2/dw2-ranges-base.exp: Same.
* gdb.dwarf2/dw2-ranges.exp: Same.
* gdb.dwarf2/dw2-vendor-extended-opcode.exp: Same.
* gdb.dwarf2/var-access.exp: Same.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-error.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-error.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-error.exp b/gdb/testsuite/gdb.dwarf2/dw2-error.exp index 53d6339..e698752 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-error.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-error.exp @@ -23,7 +23,7 @@ if {![dwarf2_support]} { standard_testfile .S if { ![istarget "x86_64-*-*"] || ![is_lp64_target] } { - verbose "Skipping $testfile.exp" + verbose "Skipping $gdb_test_file_name." return } |