Fix test names starting with uppercase using multi-line gdb_test_no_output
authorLuis Machado <lgustavo@codesourcery.com>
Thu, 1 Dec 2016 20:45:32 +0000 (14:45 -0600)
committerLuis Machado <lgustavo@codesourcery.com>
Thu, 1 Dec 2016 20:45:32 +0000 (14:45 -0600)
This fixes offender testcases that have test names starting with uppercase
when using gdb_test_no_output in a multi-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

Fix test names starting with uppercase throughout the files.

* gdb.ada/assign_1.exp
* gdb.ada/boolean_expr.exp
* gdb.base/arrayidx.exp
* gdb.base/del.exp
* gdb.base/gcore-buffer-overflow.exp
* gdb.base/testenv.exp
* gdb.compile/compile.exp
* gdb.python/py-framefilter-invalidarg.exp
* gdb.python/py-framefilter.exp

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/assign_1.exp
gdb/testsuite/gdb.ada/boolean_expr.exp
gdb/testsuite/gdb.base/arrayidx.exp
gdb/testsuite/gdb.base/del.exp
gdb/testsuite/gdb.base/gcore-buffer-overflow.exp
gdb/testsuite/gdb.base/testenv.exp
gdb/testsuite/gdb.compile/compile.exp
gdb/testsuite/gdb.python/py-framefilter-invalidarg.exp
gdb/testsuite/gdb.python/py-framefilter.exp

index fd6abe5ef165f502862c571505faaff6d795befc..5f3d8a12e43251edfc2377ce6f7a4802f5e81cfa 100644 (file)
@@ -1,3 +1,17 @@
+2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
+
+       Fix test names starting with uppercase throughout the files.
+
+       * gdb.ada/assign_1.exp
+       * gdb.ada/boolean_expr.exp
+       * gdb.base/arrayidx.exp
+       * gdb.base/del.exp
+       * gdb.base/gcore-buffer-overflow.exp
+       * gdb.base/testenv.exp
+       * gdb.compile/compile.exp
+       * gdb.python/py-framefilter-invalidarg.exp
+       * gdb.python/py-framefilter.exp
+
 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
 
        Fix test names starting with uppercase throughout the files.
index 074ec421c23a3cebb61dcd71d79da7f434b24397..2df028ce7892dc3e9e9db6de78cf8939651bfeaa 100644 (file)
@@ -22,7 +22,7 @@ gdb_reinitialize_dir $srcdir/$subdir
 # Force the language to Ada, as this will not happen automatically
 # in this case (no test program).
 gdb_test_no_output "set lang ada" \
-         "Changing the language to ada"
+         "changing the language to ada"
 
 gdb_test "print \$xxx := 1" \
          "= 1" \
index 4b8d1d874f53f7bb8f47c9fa56bb40a0f5cd4901..8b8c57c01f7a3ee56f21dc42daee46f30b6d962b 100644 (file)
@@ -25,7 +25,7 @@ set any_addr "0x\[0-9a-zA-Z\]+"
 # Force the language to Ada, as this will not happen automatically
 # in this case (no test program).
 gdb_test_no_output "set lang ada" \
-         "Changing the language to ada"
+         "changing the language to ada"
 
 gdb_test "print 1 = 2" \
          "= false" \
index bfd186bdc1b12ce9d7b8196f972ffa469a9a490f..c7c707adbc54054c01d9d6f0360a15ac39c55587 100644 (file)
@@ -34,7 +34,7 @@ if ![runto_main] then {
 # First, print the array without the indexes
 
 gdb_test_no_output "set print array-indexes off" \
-         "Set print array-indexes to off"
+         "set print array-indexes to off"
 
 gdb_test "print array" \
          "\\{1, 2, 3, 4\\}" \
@@ -43,7 +43,7 @@ gdb_test "print array" \
 # Second, print the same array with the indexes
 
 gdb_test_no_output "set print array-indexes on" \
-         "Set print array-indexes to on"
+         "set print array-indexes to on"
 
 gdb_test "print array" \
          "\\{\\\[0\\\] = 1, \\\[1\\\] = 2, \\\[2\\\] = 3, \\\[3\\\] = 4\\}" \
index e7a8c2db92e6c829b5392ce2967a16b6c6899a22..2d7e920b909226f65cadc380bd4c7cd5ca659455 100644 (file)
@@ -33,7 +33,7 @@ proc test_delete_alias { alias } {
     # First of all, remove all previous breakpoints if there were any,
     # and then verify that we do not have any breakpoint lying around.
     gdb_test_no_output "delete" \
-             "Remove all breakpoints ($alias)"
+             "remove all breakpoints ($alias)"
 
     gdb_test "info break" \
              "No breakpoints or watchpoints." \
index 72f03ac7d5160cb90ce61e5f53c42b2e67dfdcab..92df25f2de5d31ab1c755905516e1d7b5d701e0e 100644 (file)
@@ -32,7 +32,7 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
 clean_restart ${binfile}
 
 gdb_test_no_output "set args ${pattern}"       \
-    "Set buffer exceeding arguments"
+    "set buffer exceeding arguments"
 
 if { ! [ runto_main ] } then {
     untested gcore-buffer-overflow.exp
index 27cfe04aef8d4008f8677041077cf8fe3d37f64f..9d03f9135ae0df4eecd4f074068c5468ed5d0a4f 100644 (file)
@@ -52,7 +52,7 @@ gdb_test "continue" \
   "test no TEST_GDB var"
 
 gdb_test_no_output "set env TEST_GDB_VAR1 test1" \
-  "Set TEST_GDB_VAR1"
+  "set TEST_GDB_VAR1"
 
 runto_main
 gdb_breakpoint  $bp_line
@@ -63,7 +63,7 @@ gdb_test "continue" \
   "test with one TEST_GDB var"
 
 gdb_test_no_output "set env TEST_GDB_VAR2 test2" \
-  "Set TEST_GDB_VAR2"
+  "set TEST_GDB_VAR2"
 
 runto_main
 gdb_breakpoint  $bp_line
@@ -74,7 +74,7 @@ gdb_test "continue"  \
   "test with two TEST_GDB var"
 
 gdb_test_no_output "unset env TEST_GDB_VAR1" \
-  "Unset TEST_GDB_VAR1"
+  "unset TEST_GDB_VAR1"
 
 runto_main
 gdb_breakpoint  $bp_line
@@ -106,7 +106,7 @@ gdb_test "continue" \
   "test with TEST_GDB_GLOBAL"
 
 gdb_test_no_output "unset env TEST_GDB_GLOBAL" \
-  "Unset TEST_GDB_GLOBAL"
+  "unset TEST_GDB_GLOBAL"
 
 runto_main
 gdb_breakpoint  $bp_line
index cec44d86dc60e36a2fa31dda18ad1a58668365f2..93d587369654aab7f669b72441afdfe64502a462 100644 (file)
@@ -66,16 +66,16 @@ if {[skip_compile_feature_tests]} {
 #
 
 gdb_test_no_output "compile -- f = 10" \
-    "Test abbreviations and code delimiter"
+    "test abbreviations and code delimiter"
 
 gdb_test "compile f = 10;" ".*= 10;: No such file.*" \
     "Test abbreviations and code collision"
 
 gdb_test_no_output "compile -r -- void _gdb_expr(){int i = 5;}" \
-    "Test delimiter with -r"
+    "test delimiter with -r"
 
 gdb_test_no_output "compile -raw -- void _gdb_expr(){int i = 5;}" \
-    "Test delimiter with -raw"
+    "test delimiter with -raw"
 
 gdb_test "compile -- -r  void _gdb_expr(){int i = 5;}" \
     ".* error: 'r' undeclared \\(first use in this function\\).*" \
index d072adf4190e475c121b83b910fb25de53f25613..50fbc5bbc771f259f524386db998673a5bdeedfd 100644 (file)
@@ -56,12 +56,12 @@ if ![runto_main] then {
     return
 }
 gdb_test_no_output "set python print-stack full" \
-    "Set python print-stack to full"
+    "set python print-stack to full"
 
 # Load global frame-filters
 set remote_python_file [gdb_remote_download host \
                            ${srcdir}/${subdir}/${testfile}.py]
 gdb_test_no_output "python exec (open ('${remote_python_file}').read ())" \
-    "Load python file"
+    "load python file"
 
 gdb_test "bt" " in niam \\(argc=<error reading variable: dwarf expression stack underflow>, argv=0x\[0-9a-f\]+\\) at py-framefilter-invalidarg.c:\[0-9\]+" "bt full with filters"
index 7abf3a91c7de50a366627bf7549ff9e8512e3bbb..0bfecdff8aaabc5e21d8648d21d1a2d870e8cffd 100644 (file)
@@ -58,13 +58,13 @@ if ![runto_main] then {
     return
 }
 gdb_test_no_output "set python print-stack full" \
-    "Set python print-stack to full"
+    "set python print-stack to full"
 
 # Load global frame-filters
 set remote_python_file [gdb_remote_download host \
                            ${srcdir}/${subdir}/${testfile}.py]
 gdb_test_no_output "python exec (open ('${remote_python_file}').read ())" \
-    "Load python file"
+    "load python file"
 
 gdb_breakpoint [gdb_get_line_number "Backtrace end breakpoint"]
 gdb_breakpoint [gdb_get_line_number "Inner test breakpoint"]
@@ -254,7 +254,7 @@ gdb_test_no_output "set python print-stack full" \
 set remote_python_file [gdb_remote_download host \
                            ${srcdir}/${subdir}/${testfile}.py]
 gdb_test_no_output "python exec (open ('${remote_python_file}').read ())" \
-    "Load python file for no debuginfo tests"
+    "load python file for no debuginfo tests"
 
 # Disable Reverse
 gdb_test_no_output "disable frame-filter global Reverse" \
This page took 0.036945 seconds and 4 git commands to generate.