Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC] changes to gdb.gdb to use new gdb.exp
@ 2004-08-31 20:38 Manoj Iyer
  2004-09-01 16:38 ` Michael Chastain
  0 siblings, 1 reply; 5+ messages in thread
From: Manoj Iyer @ 2004-08-31 20:38 UTC (permalink / raw)
  To: gdb-patches; +Cc: mec.gnu

[-- Attachment #1: Type: TEXT/PLAIN, Size: 370 bytes --]


Attached is a patch to testcases under gdb.gdb, modified to use the new
report scheme from gdb.exp.

Ok to commit??

Thanks
-----
Manjo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cognito ergo sum                                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[-- Attachment #2: PATCH: testcases under gdb.gdb/ --]
[-- Type: TEXT/PLAIN, Size: 2402 bytes --]

diff -paruN old/src/gdb/testsuite/gdb.gdb/complaints.exp new/src/gdb/testsuite/gdb.gdb/complaints.exp
--- old/src/gdb/testsuite/gdb.gdb/complaints.exp	2004-08-28 18:55:48.000000000 -0500
+++ new/src/gdb/testsuite/gdb.gdb/complaints.exp	2004-08-31 14:56:21.000000000 -0500
@@ -55,6 +55,11 @@ proc setup_test { executable } {
 
     if { [lindex $result 0] != "" } then {
 	return -1
+    } else {
+        if { [lindex $result 1] == "nodebug"} then {
+            untested "No debug information, skipping testcase."
+            return -1
+        }
     }
 
     # Set a breakpoint at main
diff -paruN old/src/gdb/testsuite/gdb.gdb/observer.exp new/src/gdb/testsuite/gdb.gdb/observer.exp
--- old/src/gdb/testsuite/gdb.gdb/observer.exp	2004-08-28 18:55:48.000000000 -0500
+++ new/src/gdb/testsuite/gdb.gdb/observer.exp	2004-08-31 14:57:34.000000000 -0500
@@ -53,6 +53,11 @@ proc setup_test { executable } {
 
     if { [lindex $result 0] != "" } then {
 	return -1
+    } else {
+        if { [lindex $result 1] == "nodebug"} then {
+            untested "No debug information, skipping testcase."
+            return -1
+        }
     }
 
     # Set a breakpoint at main
diff -paruN old/src/gdb/testsuite/gdb.gdb/selftest.exp new/src/gdb/testsuite/gdb.gdb/selftest.exp
--- old/src/gdb/testsuite/gdb.gdb/selftest.exp	2004-08-28 18:55:48.000000000 -0500
+++ new/src/gdb/testsuite/gdb.gdb/selftest.exp	2004-08-31 14:58:20.000000000 -0500
@@ -247,6 +247,11 @@ proc test_with_self { executable } {
 
     if { [lindex $result 0] != "" } then {
 	return -1
+    } else {
+        if { [lindex $result 1] == "nodebug"} then {
+            untested "No debug information, skipping testcase."
+            return -1
+        }
     }
 
     # disassemble yourself
diff -paruN old/src/gdb/testsuite/gdb.gdb/xfullpath.exp new/src/gdb/testsuite/gdb.gdb/xfullpath.exp
--- old/src/gdb/testsuite/gdb.gdb/xfullpath.exp	2004-08-28 18:55:48.000000000 -0500
+++ new/src/gdb/testsuite/gdb.gdb/xfullpath.exp	2004-08-31 14:58:46.000000000 -0500
@@ -54,6 +54,11 @@ proc setup_test { executable } {
 
     if { [lindex $result 0] != "" } then {
 	return -1
+    } else {
+        if { [lindex $result 1] == "nodebug"} then {
+            untested "No debug information, skipping testcase."
+            return -1
+        }
     }
 
     # Set a breakpoint at main

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-02  1:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-31 20:38 [RFC] changes to gdb.gdb to use new gdb.exp Manoj Iyer
2004-09-01 16:38 ` Michael Chastain
2004-09-01 17:44   ` Manoj Iyer
2004-09-01 19:38     ` Michael Chastain
2004-09-02  1:27       ` [COMMIT] " Manoj Iyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox