[gdb/testsuite] Fix capitalized test names
authorTom de Vries <tdevries@suse.de>
Thu, 18 Oct 2018 11:23:08 +0000 (13:23 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 18 Oct 2018 13:06:38 +0000 (15:06 +0200)
At https://sourceware.org/gdb/wiki/GDBTestcaseCookbook\
  #Follow_the_test_name_convention we find:
..
Test names should start with a lower case and don't need to end with a period
(they are not sentences).
...

Fix some capitalized test names.

Tested on x86_64-linux.

2018-10-18  Tom de Vries  <tdevries@suse.de>

* gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
* gdb.ada/excep_handle.exp: Same.
* gdb.ada/mi_string_access.exp: Same.
* gdb.ada/mi_var_union.exp: Same.
* gdb.arch/arc-analyze-prologue.exp: Same.
* gdb.arch/arc-decode-insn.exp: Same.
* gdb.base/readnever.exp: Same.
* gdb.fortran/printing-types.exp: Same.
* gdb.guile/scm-lazy-string.exp: Same.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/bp_inlined_func.exp
gdb/testsuite/gdb.ada/excep_handle.exp
gdb/testsuite/gdb.ada/mi_string_access.exp
gdb/testsuite/gdb.ada/mi_var_union.exp
gdb/testsuite/gdb.arch/arc-analyze-prologue.exp
gdb/testsuite/gdb.arch/arc-decode-insn.exp
gdb/testsuite/gdb.base/readnever.exp
gdb/testsuite/gdb.fortran/printing-types.exp
gdb/testsuite/gdb.guile/scm-lazy-string.exp

index 90ce8af..8fa224a 100644 (file)
@@ -1,3 +1,15 @@
+2018-10-18  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
+       * gdb.ada/excep_handle.exp: Same.
+       * gdb.ada/mi_string_access.exp: Same.
+       * gdb.ada/mi_var_union.exp: Same.
+       * gdb.arch/arc-analyze-prologue.exp: Same.
+       * gdb.arch/arc-decode-insn.exp: Same.
+       * gdb.base/readnever.exp: Same.
+       * gdb.fortran/printing-types.exp: Same.
+       * gdb.guile/scm-lazy-string.exp: Same.
+
 2018-10-16  Tom de Vries  <tdevries@suse.de>
 
        PR gdb/23730
index 2013e6b..f7aa1c3 100644 (file)
@@ -24,7 +24,7 @@ if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" }
 clean_restart ${testfile}
 
 if ![runto_main] then {
-   fail "Cannot run to main, testcase aborted"
+   fail "cannot run to main, testcase aborted"
    return 0
 }
 
index c693fd3..b7cd6dc 100644 (file)
@@ -43,7 +43,7 @@ set catchpoint_storage_error_msg \
 ############################################
 
 if ![runto_main] then {
-   fail "Cannot run to main, testcase aborted"
+   fail "cannot run to main, testcase aborted"
    return 0
 }
 
index 8ecf907..adae4ab 100644 (file)
@@ -34,7 +34,7 @@ mi_gdb_reinitialize_dir $srcdir/$subdir
 mi_gdb_load ${binfile}
 
 if ![mi_run_to_main] then {
-   fail "Cannot run to main, testcase aborted"
+   fail "cannot run to main, testcase aborted"
    return 0
 }
 
index 26a7ed0..51147a4 100644 (file)
@@ -36,7 +36,7 @@ mi_gdb_reinitialize_dir $srcdir/$subdir
 mi_gdb_load ${binfile}
 
 if ![mi_run_to_main] then {
-   fail "Cannot run to main, testcase aborted"
+   fail "cannot run to main, testcase aborted"
    return 0
 }
 
index d874515..6a4d60e 100644 (file)
@@ -27,7 +27,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
 }
 
 if ![runto_main] {
-    fail "Can't run to main"
+    fail "can't run to main"
     return 0
 }
 
index 7ee666b..a4cd7c7 100644 (file)
@@ -43,7 +43,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
 }
 
 if ![runto_main] {
-    fail "Can't run to main"
+    fail "can't run to main"
     return 0
 }
 
index 805ecd2..c712dae 100644 (file)
@@ -16,7 +16,7 @@
 standard_testfile .c
 
 if { [build_executable "failed to build" $testfile $srcfile { debug }] == -1 } {
-    untested "Couldn't compile ${srcfile}"
+    untested "couldn't compile ${srcfile}"
     return -1
 }
 
index 9237907..885bb64 100644 (file)
@@ -22,7 +22,7 @@ if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug f90}]} {
 }
 
 if {![runto MAIN__]} then {
-    untested "Could not run to breakpoint MAIN__"
+    untested "could not run to breakpoint MAIN__"
     return -1
 }
 
index 52211b3..13cc885 100644 (file)
@@ -33,7 +33,7 @@ if { [skip_guile_tests] } { continue }
 # The following tests require execution.
 
 if ![gdb_guile_runto_main] {
-    fail "Can't run to main"
+    fail "can't run to main"
     return
 }