[pushed,gdb/testsuite] Fix DUPLICATE in gdb.arch/ppc-fp.exp

Message ID 20221117081247.23366-1-tdevries@suse.de
State Committed
Commit 7a4ce4a1bcff9710b7dede9797e6d5eb2364c06e
Headers
Series [pushed,gdb/testsuite] Fix DUPLICATE in gdb.arch/ppc-fp.exp |

Commit Message

Tom de Vries Nov. 17, 2022, 8:12 a.m. UTC
  From: Tom de Vries <tdevries@jostaberry-8.arch.suse.de>

I noticed:
...
DUPLICATE: gdb.arch/ppc-fp.exp: next
...

Fix this by adding unique test names.

Tested on powerpc64le-linux.
---
 gdb/testsuite/gdb.arch/ppc-fp.exp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


base-commit: d5b9201744fa1dcfcde2e06140efe28819aaef25
  

Patch

diff --git a/gdb/testsuite/gdb.arch/ppc-fp.exp b/gdb/testsuite/gdb.arch/ppc-fp.exp
index bf1a1c59082..bd22d7c489e 100644
--- a/gdb/testsuite/gdb.arch/ppc-fp.exp
+++ b/gdb/testsuite/gdb.arch/ppc-fp.exp
@@ -61,7 +61,7 @@  gdb_test_multiple "print \$fpscr" "FPSCR exists" {
 }
 
 # Step over invalid operation.
-gdb_test "next" "" ""
+gdb_test "next" "" "next over invalid operation"
 
 # Verify that the following bits are set (See Power ISA for details):
 #
@@ -75,7 +75,7 @@  gdb_test "print/t \$fpscr" " = 10100000001000010001000000000000" "FPSCR for inva
 gdb_continue_to_breakpoint "go to division by zero"
 
 # Step over division by zero.
-gdb_test "next" "" ""
+gdb_test "next" "" "next over division by zero"
 
 # Verify that the following bits are set (See Power ISA for details):
 #