Bug 3354 - Running testInsertRemove(frysk.proc.TestBreakpoints) ...<<BROKEN http://sourceware.org/bugzilla/show_bug.cgi?id=3240 >> is hung
Summary: Running testInsertRemove(frysk.proc.TestBreakpoints) ...<<BROKEN http://sourc...
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
Depends on:
Blocks: 2234
  Show dependency treegraph
Reported: 2006-10-12 13:39 UTC by Andrew Cagney
Modified: 2006-10-12 14:55 UTC (History)
1 user (show)

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-10-12 13:39:48 UTC
The test:

Running testInsertRemove(frysk.proc.TestBreakpoints) ...<<BROKEN
http://sourceware.org/bugzilla/show_bug.cgi?id=3240 >>

is hanging completly, presumably in tearDown.
Comment 1 Andrew Cagney 2006-10-12 13:44:44 UTC
The objective here is to test breakpoint addition and removal and not
parallelizm.  Consequently, in my not so humble opinion, and consistent with the
other tests in frysk.proc, this test should be changed so that it runs in the
event loop thread and not try to run two threads in parallel.
Comment 2 Andrew Cagney 2006-10-12 14:55:13 UTC
This gets around the problem.

Index: frysk-core/frysk/proc/ChangeLog
2006-10-12  Andrew Cagney  <cagney@redhat.com>

        * TestBreakpoints.java (setUp): Move code creating event loop from
        here ...
        (testHitAndRun, testInsertRemove, testAddLots): ... to here.
        (tearDown): Only shutdown the eventLoop when it is running.