diff options
author | Tom de Vries <tdevries@suse.de> | 2022-10-12 16:50:16 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-10-12 16:50:16 +0200 |
commit | e2800454ce9d89f9c4587bc20ee7c6cd0122c340 (patch) | |
tree | 6747974997d3d6652e810ebdef5514be63157cea /gdb | |
parent | 7fd882d4ad91916fd8a05148117f05ea9f5d756c (diff) | |
download | gdb-e2800454ce9d89f9c4587bc20ee7c6cd0122c340.zip gdb-e2800454ce9d89f9c4587bc20ee7c6cd0122c340.tar.gz gdb-e2800454ce9d89f9c4587bc20ee7c6cd0122c340.tar.bz2 |
[gdb/testsuite] Remove unnecessary perror in some test-cases
On openSUSE Tumbleweed I noticed:
...
UNTESTED: gdb.dwarf2/fission-absolute-dwo.exp: fission-absolute-dwo.exp
ERROR: failed to compile fission-absolute-dwo
...
The ERROR is unnecessary, given that an UNTESTED is already emitted.
Furthermore, it could be argued that it is incorrect because it's not a
testsuite error to not be able to compile something, and UNTESTED or
UNSUPPORTED is more appropriate.
Remove the perror call, likewise in fission-relative-dwo.exp.
Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/fission-absolute-dwo.exp | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/fission-relative-dwo.exp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/fission-absolute-dwo.exp b/gdb/testsuite/gdb.dwarf2/fission-absolute-dwo.exp index e243598..5315023 100644 --- a/gdb/testsuite/gdb.dwarf2/fission-absolute-dwo.exp +++ b/gdb/testsuite/gdb.dwarf2/fission-absolute-dwo.exp @@ -112,7 +112,6 @@ set object_file [standard_output_file ${testfile}.o] if { [build_executable_and_dwo_files "${testfile}.exp" ${binfile} {nodebug} \ [list $asm_file {nodebug split-dwo} ${object_file}] \ [list $srcfile {nodebug}]] } { - perror "failed to compile ${gdb_test_file_name}" return -1 } diff --git a/gdb/testsuite/gdb.dwarf2/fission-relative-dwo.exp b/gdb/testsuite/gdb.dwarf2/fission-relative-dwo.exp index 62d7941..3b548c4 100644 --- a/gdb/testsuite/gdb.dwarf2/fission-relative-dwo.exp +++ b/gdb/testsuite/gdb.dwarf2/fission-relative-dwo.exp @@ -109,7 +109,6 @@ set object_file [standard_output_file ${testfile}.o] if { [build_executable_and_dwo_files "${testfile}.exp" ${testfile} {nodebug} \ [list $asm_file {nodebug split-dwo} ${object_file}] \ [list $srcfile {nodebug}]] } { - perror "failed to compile ${gdb_test_file_name}" return -1 } |