public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Add timeout so test won't fail incorrectly.
@ 2008-01-15  8:06 rmoseley
  0 siblings, 0 replies; only message in thread
From: rmoseley @ 2008-01-15  8:06 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  9fc22952f6344d0e95865c1adc4660adeed659ea (commit)
      from  d69fbcf1960423fa8f87fc0a61dcbc4aab25657b (commit)

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

- Log -----------------------------------------------------------------
commit 9fc22952f6344d0e95865c1adc4660adeed659ea
Author: Rick Moseley <rmoseley@localhost.localdomain>
Date:   Tue Jan 15 02:06:26 2008 -0600

    Add timeout so test won't fail incorrectly.
    
    * TestRunCommand.java: Add timeout so test won't fail incorrectly.

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

Summary of changes:
 frysk-core/frysk/hpd/ChangeLog           |    2 +-
 frysk-core/frysk/hpd/TestRunCommand.java |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/hpd/ChangeLog b/frysk-core/frysk/hpd/ChangeLog
index 50cf389..016a9f3 100644
--- a/frysk-core/frysk/hpd/ChangeLog
+++ b/frysk-core/frysk/hpd/ChangeLog
@@ -4,7 +4,7 @@
 	* StartCommand.java: Move common code to StartRun.java.
 	* RunCommand.java: Ditto.
 	* TestStartCommand.java: Modify for above changes.
-	* TestRunCommand.java: Ditto.
+	* TestRunCommand.java: Ditto plus add timeout so test won't fail.
 	* TestBreakpoints.java: Ditto.
 	* TestListCommand.java: Ditto.
 	* TestGenerateCoreCommand.java: Ditto.
diff --git a/frysk-core/frysk/hpd/TestRunCommand.java b/frysk-core/frysk/hpd/TestRunCommand.java
index 53681ef..786a7d3 100644
--- a/frysk-core/frysk/hpd/TestRunCommand.java
+++ b/frysk-core/frysk/hpd/TestRunCommand.java
@@ -73,10 +73,10 @@ public class TestRunCommand extends TestLib {
 	try { Thread.sleep(1000); } catch (Exception e) {}
 	e.sendCommandExpectPrompt("focus","Target set.*\\[0\\.0\\]\t\t([0-9]+)" +
 		"\t([0-9]+)\r\n" + "\\[0\\.1\\]\t\t([0-9]+)\t([0-9]+)\r\n");
+	try { Thread.sleep(1000); } catch (Exception e) {}
 	e.sendCommandExpectPrompt("run", "Killing process ([0-9])+.*" +
 		"Loaded executable file.*" + "Attached to process ([0-9])+.*" +
 		"Running process ([0-9])+.*");
-	try { Thread.sleep(1000); } catch (Exception e) {}
 	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-01-15  8:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-15  8:06 [SCM] master: Add timeout so test won't fail incorrectly rmoseley

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).