Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Manoj Iyer <manjo@austin.ibm.com>
To: gdb-patches@sources.redhat.com
Cc: mec.gnu@mindspring.com
Subject: [RFC] changes to gdb.gdb to use new gdb.exp
Date: Tue, 31 Aug 2004 20:38:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0408311500250.19258@lazy> (raw)

[-- 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

             reply	other threads:[~2004-08-31 20:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31 20:38 Manoj Iyer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0408311500250.19258@lazy \
    --to=manjo@austin.ibm.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec.gnu@mindspring.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox