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

Message ID 3f41f7b59112c3d25c5a8a48422c62b3c5892bf6.1549986233.git.andrew.burgess@embecosm.com
State Superseded
Headers show
Series
  • Fortran Parser Cleanup, KIND Support, and Intrinsic Functions
Related show

Commit Message

Andrew Burgess Feb. 12, 2019, 4:10 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(-)

-- 
2.14.5

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\]+"
 }