public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: rmoseley@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Add timeout so test won't fail incorrectly.
Date: Tue, 15 Jan 2008 08:06:00 -0000	[thread overview]
Message-ID: <20080115080643.6512.qmail@sourceware.org> (raw)

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


                 reply	other threads:[~2008-01-15  8:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20080115080643.6512.qmail@sourceware.org \
    --to=rmoseley@sourceware.org \
    --cc=frysk-cvs@sourceware.org \
    --cc=frysk@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).