This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix gdb.fortran/array-element.exp failures.
- From: Gabriel Krisman Bertazi <gabriel at krisman dot be>
- To: gdb-patches at sourceware dot org
- Cc: Gabriel Krisman Bertazi <gabriel at krisman dot be>
- Date: Fri, 4 Jul 2014 02:58:07 -0300
- Subject: [PATCH] Fix gdb.fortran/array-element.exp failures.
- Authentication-results: sourceware.org; auth=none
This fixes two FAIL results when running this test file due to a
misplaced "continue" command, which caused the inferior to end execution
prematurely.
Before, we had:
FAIL: gdb.fortran/array-element.exp: continue to breakpoint once again
(the program exited)
FAIL: gdb.fortran/array-element.exp: print the second element of array a
=== gdb Summary ===
# of expected passes 3
# of unexpected failures 2
This gives us:
=== gdb Summary ===
# of expected passes 4
2014-07-04 Gabriel Krisman Bertazi <gabriel@krisman.be>
* gdb.fortran/array-element.exp: Remove wrong "continue" command
that caused test to fail.
---
gdb/testsuite/gdb.fortran/array-element.exp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gdb/testsuite/gdb.fortran/array-element.exp b/gdb/testsuite/gdb.fortran/array-element.exp
index 579db03..3c87790 100644
--- a/gdb/testsuite/gdb.fortran/array-element.exp
+++ b/gdb/testsuite/gdb.fortran/array-element.exp
@@ -41,8 +41,5 @@ gdb_test "continue" \
"continue to breakpoint"
gdb_test "print a(1)" ".*1 = 1.*" "print the first element of array a"
-gdb_test "continue" \
- "Continuing\\..*Breakpoint.*" \
- "continue to breakpoint once again"
gdb_test "print a(2)" ".*2 = 2.*" "print the second element of array a"
--
2.0.1