This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]