public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Add test for stepping between two breakpoints.
@ 2008-04-23 18:17 tthomas
  0 siblings, 0 replies; only message in thread
From: tthomas @ 2008-04-23 18:17 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  150a6816f5ed45f142a94b87573b98fa906568ed (commit)
      from  d7937230ec04d34a332286bf24407333588a516b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 150a6816f5ed45f142a94b87573b98fa906568ed
Author: Teresa Thomas <tthomas@redhat.com>
Date:   Wed Apr 23 14:18:20 2008 -0400

    Add test for stepping between two breakpoints.
    
    frysk-core/frysk/hpd/ChangeLog:
    2008-04-23  Teresa Thomas  <tthomas@redhat.com>
    
    	* TestBreakpoints.java (testBreakWithStepping): New.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog            |    4 ++++
 frysk-core/frysk/hpd/TestBreakpoints.java |   25 +++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 0 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index d05c5e8..8ba0b50 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-23  Teresa Thomas  <tthomas@redhat.com>
+
+	* TestBreakpoints.java (testBreakWithStepping): New.
+
 2008-04-22  Teresa Thomas  <tthomas@redhat.com>
 
 	* TestWatchCommand.java (testMultipleWatchPointSetAndHit): New.
diff --git a/frysk-core/frysk/hpd/TestBreakpoints.java b/frysk-core/frysk/hpd/TestBreakpoints.java
index 052aea3..5cb797b 100644
--- a/frysk-core/frysk/hpd/TestBreakpoints.java
+++ b/frysk-core/frysk/hpd/TestBreakpoints.java
@@ -204,4 +204,29 @@ public class TestBreakpoints
       e.expect("Quitting...");
       e.close();
   }
+  
+  public void testBreakWithStepping() {
+      e = new HpdTestbed();
+      e.sendCommandExpectPrompt("load " + Prefix.pkgLibFile("funit-hello").getPath(),
+                                "Loaded executable file.*");
+      e.send("break main\n");
+      e.expect("break.*" + prompt);
+      e.send("break print\n");
+      e.expect("break.*" + prompt);      
+      e.sendCommandExpectPrompt("run ",
+                          "Attached to process ([0-9]+).*Running process ([0-9]+).*");
+
+      // Steps between the two break points 
+      e.sendCommandExpectPrompt("step ", "Task stopped at line " + "[0-9]+ in file.*");
+      e.sendCommandExpectPrompt("step ", "Task stopped at line " + "[0-9]+ in file.*");
+      e.sendCommandExpectPrompt("step ", "Task stopped at line " + "[0-9]+ in file.*");
+      e.sendCommandExpectPrompt("step ", "Task stopped at line " + "[0-9]+ in file.*");
+      e.sendCommandExpectPrompt("step ", "Task stopped at line " + "[0-9]+ in file.*");
+      e.sendCommandExpectPrompt("step ", "Task stopped at line " + "[0-9]+ in file.*");
+
+      e.send("quit\n");
+      e.expect("Quitting...");
+      e.close();
+  }  
+  
 }


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-23 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-23 18:17 [SCM] master: Add test for stepping between two breakpoints tthomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).