public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/4985] New: testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands)
@ 2007-08-31 22:33 cagney at redhat dot com
  2007-10-10 14:49 ` [Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands) mark at klomp dot org
  2007-11-20 18:36 ` swagiaal at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2007-08-31 22:33 UTC (permalink / raw)
  To: frysk-bugzilla

testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands)frysk.expunit.TimeoutException:
Timeout of 5 expired
   at frysk.expunit.Expect.expectMilliseconds(TestRunner)
   at frysk.expunit.Expect.expect(TestRunner)
   at frysk.expunit.Expect.expect(TestRunner)
   at frysk.expunit.Expect.expect(TestRunner)
   at frysk.expunit.Expect.expect(TestRunner)
   at frysk.hpd.TestStackCommands.testFhpdVirtualStackTraceWithScopes(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

$ gcc --version
gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)

FINE: frysk.expunit.Expect@4afdc8 find <<.*var3.*var2.*var1.*>> in <<(fhpd)
where -scopes
WhereCommand.handle() [-scopes]
WhereCommand.handle() printScopes = true
#0.1 0x080483af in third(int arg3 = < ERROR >)
/home/scratch/frysk/common/native/frysk-core/../../frysk/frysk-core/frysk/pkglibdir/funit-inlined.c#6
 {
  {
   int var3 = < value unavailable at pc=0x80483af> line#< error >
   int * a = < value unavailable at pc=0x80483af> line#< error >
  }
 }
#0.2 0x080483af in second(int arg2 = < ERROR >)
/home/scratch/frysk/common/native/frysk-core/../../frysk/frysk-core/frysk/pkglibdir/funit-inlined.c#6
 {
  {
   int var2 = < value unavailable at pc=0x80483af> line#< error >
  }
 }
#0.3 0x080483af in first(int arg1 = < ERROR >)
/home/scratch/frysk/common/native/frysk-core/../../frysk/frysk-core/frysk/p>>?


Bumping up the timeout gets it to pass.

-- 
           Summary: testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackC
                    ommands)
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands)
  2007-08-31 22:33 [Bug general/4985] New: testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands) cagney at redhat dot com
@ 2007-10-10 14:49 ` mark at klomp dot org
  2007-11-20 18:36 ` swagiaal at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2007-10-10 14:49 UTC (permalink / raw)
  To: frysk-bugzilla


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands)
  2007-08-31 22:33 [Bug general/4985] New: testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands) cagney at redhat dot com
  2007-10-10 14:49 ` [Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands) mark at klomp dot org
@ 2007-11-20 18:36 ` swagiaal at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: swagiaal at redhat dot com @ 2007-11-20 18:36 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From swagiaal at redhat dot com  2007-11-20 18:35 -------
can this be closed ?

-- 


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-20 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-31 22:33 [Bug general/4985] New: testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands) cagney at redhat dot com
2007-10-10 14:49 ` [Bug general/4985] testFhpdVirtualStackTraceWithScopes(frysk.hpd.TestStackCommands) mark at klomp dot org
2007-11-20 18:36 ` swagiaal at redhat dot com

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