This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands)
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 10 Oct 2007 14:48:53 -0000
- Subject: [Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands)
- References: <20070831223303.4985.cagney@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mark at klomp dot org 2007-10-10 14:48 -------
Rewriting the regex expect as three separate ones reduces the matching time a
lot for me (but the original didn't timeout either):
diff -u -r1.11 TestStackCommands.java
--- frysk-core/frysk/hpd/TestStackCommands.java 4 Oct 2007 17:23:04 -0000 1.11
+++ frysk-core/frysk/hpd/TestStackCommands.java 10 Oct 2007 13:59:42 -0000
@@ -87,19 +87,15 @@
}
public void testFhpdVirtualStackTraceWithScopes () {
- // This test is very very slow.
- if (unresolved(4985))
- return;
Proc proc = CoreFileAtSignal
.constructCore("funit-inlined");
e = new HpdTestbed("core." + proc.getPid(), "Attached to core file.*");
e.send("where -scopes\n");
- e.expect (".*var3" +
- ".*var2" +
- ".*var1" +
- ".*");
+ e.expect (".*var3");
+ e.expect (".*var2");
+ e.expect (".*var1");
e.close();
}
}
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4985
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.