gdb/testsuite: gdb.base/args.exp: remove trailing parenthesis in test names
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 17 Jun 2021 13:41:58 +0000 (09:41 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 17 Jun 2021 13:41:58 +0000 (09:41 -0400)
Some test names end with a parenthesis, we don't want that:

    https://sourceware.org/gdb/wiki/GDBTestcaseCookbook#Do_not_use_.22tail_parentheses.22_on_test_messages

Fix that.

gdb/testsuite/ChangeLog:

* gdb.base/args.exp: Remove trailing parenthesis in test names.

Change-Id: I0306ea202bae3a4ed5bf0bd65e0ab5ed5de52fe1

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/args.exp

index 85ea359a283d763ed4b1ca5f6fc5eda99b3b35c0..1eb42e7b6bb72e650865e4d0c7e0edea2cca107c 100644 (file)
@@ -1,3 +1,7 @@
+2021-06-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/args.exp: Remove trailing parenthesis in test names.
+
 2021-06-17  Simon Marchi  <simon.marchi@efficios.com>
 
        * gdb.base/args.exp: Use $old_gdbflags in all tests.
index e4cba65d326e10cbb1b3e0ab0291d71888b26294..e76368f544e750cde80e4d666c7980382a2581e3 100644 (file)
@@ -85,10 +85,10 @@ save_vars { GDBFLAGS } {
     # Try with arguments containing literal single quotes.
 
     set GDBFLAGS "$old_gdbflags --args $binfile 1 '' 3"
-    args_test "one empty (with single quotes)" {{1} {''} {3}}
+    args_test "one empty with single quotes" {{1} {''} {3}}
 
     set GDBFLAGS "$old_gdbflags --args $binfile 1 '' '' 3"
-    args_test "two empty (with single quotes)" {{1} {''} {''} {3}}
+    args_test "two empty with single quotes" {{1} {''} {''} {3}}
 
     # try with arguments containing literal newlines.
 
This page took 0.042841 seconds and 4 git commands to generate.