Patchwork [PUSHED,01/11] gdb/fortran: Remove some duplicate tests

login
register
mail settings
Submitter Andrew Burgess
Date March 6, 2019, 6:14 p.m.
Message ID <6dc25f290e6641a295372faefb369151e0888b71.1551895528.git.andrew.burgess@embecosm.com>
Download mbox | patch
Permalink /patch/31743/
State New
Headers show

Comments

Andrew Burgess - March 6, 2019, 6:14 p.m.
Make the test names unique in gdb.fortran/types.exp by removing a few
duplicate tests.

gdb/testsuite/ChangeLog:

	* gdb.fortran/types.exp (test_float_literal_types_accepted):
	Remove duplicate tests.
---
 gdb/testsuite/ChangeLog             | 5 +++++
 gdb/testsuite/gdb.fortran/types.exp | 4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)

Patch

diff --git a/gdb/testsuite/gdb.fortran/types.exp b/gdb/testsuite/gdb.fortran/types.exp
index 2e1f2e1efd1..f786bd30eb0 100644
--- a/gdb/testsuite/gdb.fortran/types.exp
+++ b/gdb/testsuite/gdb.fortran/types.exp
@@ -63,12 +63,8 @@  proc test_float_literal_types_accepted {} {
     gdb_test "pt .44" "type = real\\*\[0-9\]+"
     gdb_test "pt 44.0" "type = real\\*\[0-9\]+"
     gdb_test "pt 10D20" "type = real\\*\[0-9\]+"
-    gdb_test "pt 10D20" "type = real\\*\[0-9\]+"
-    gdb_test "pt 10d20" "type = real\\*\[0-9\]+"
     gdb_test "pt 10d20" "type = real\\*\[0-9\]+"
     gdb_test "pt 10E20" "type = real\\*\[0-9\]+"
-    gdb_test "pt 10E20" "type = real\\*\[0-9\]+"
-    gdb_test "pt 10e20" "type = real\\*\[0-9\]+"
     gdb_test "pt 10e20" "type = real\\*\[0-9\]+"
 }