[22/29] gdb/testsuite: Remove duplicates from gdb.base/funcargs.exp

Message ID 20211121175636.779325-23-lsix@lancelotsix.com
State New
Headers show
Series
  • Remove DUPLICATEs from testsuite/gdb.base/*.exp
Related show

Commit Message

Mike Frysinger via Gdb-patches Nov. 21, 2021, 5:56 p.m.
When running the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/funcargs.exp ...
    DUPLICATE: gdb.base/funcargs.exp: run to call2a

Fix by adjusting test name.

Tested on x86_64-linux.
---
 gdb/testsuite/gdb.base/funcargs.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.33.1

Patch

diff --git a/gdb/testsuite/gdb.base/funcargs.exp b/gdb/testsuite/gdb.base/funcargs.exp
index 7031e02b0e5..c5753836466 100644
--- a/gdb/testsuite/gdb.base/funcargs.exp
+++ b/gdb/testsuite/gdb.base/funcargs.exp
@@ -213,7 +213,7 @@  proc complex_args {} {
 
     # Run; should stop at call1a and print actual arguments.
     gdb_run_cmd
-    gdb_test "" " callca \\(f1=1 \\+ 2i, f2=1 \\+ 2i, f3=1 \\+ 2i\\) .*" "run to call2a"
+    gdb_test "" " callca \\(f1=1 \\+ 2i, f2=1 \\+ 2i, f3=1 \\+ 2i\\) .*" "run to call2a (complex_arg)"
 
     gdb_test "cont" ".* callcb \\(d1=3 \\+ 4i, d2=3 \\+ 4i, d3=3 \\+ 4i\\) .*" "continue to callcb"
     gdb_test "cont" ".* callcc \\(ld1=5 \\+ 6i, ld2=5 \\+ 6i, ld3=5 \\+ 6i\\) .*" "continue to callcc"