Bug 3642 - fc6: testLineStepping(frysk.rt.tests.TestRunState)
Summary: fc6: testLineStepping(frysk.rt.tests.TestRunState)
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 2654
  Show dependency treegraph
 
Reported: 2006-12-04 18:13 UTC by Chris Moller
Modified: 2006-12-04 19:04 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Moller 2006-12-04 18:13:05 UTC
testLineStepping(frysk.rt.tests.TestRunState)junit.framework.AssertionFailedError:
expected:<67> but was:<61>
   at frysk.rt.tests.TestRunState.stepAssertions(TestRunner)
   at frysk.rt.tests.TestRunState$LockObserver.update(TestRunner)
   at java.util.Observable.notifyObservers(libgcj.so.7rh)
   at frysk.rt.RunState.updateExecuted(TestRunner)
   at frysk.proc.Task.notifyInstruction(TestRunner)
   at frysk.proc.TaskState$Running.handleTrappedEvent(TestRunner)
   at frysk.proc.Task.processTrappedEvent(TestRunner)
   at frysk.proc.LinuxHost$PollWaitOnSigChld$5.stopped(TestRunner)
   at frysk.sys.Wait.waitAllNoHang(TestRunner)
   at frysk.proc.LinuxHost$PollWaitOnSigChld.execute(TestRunner)
   at frysk.event.EventLoop.runEventLoop(TestRunner)
   at frysk.event.EventLoop.runPolling(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.rt.tests.TestRunState.testLineStepping(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)
Comment 1 Andrew Cagney 2006-12-04 18:24:45 UTC
Check the debug info!
Comment 2 Mike Cvet 2006-12-04 19:04:13 UTC
Just fixed:

Log message:
        2006-12-03  Mike Cvet  <mcvet@redhat.com>
        
        * RunState.java (lineLoopCount): Removed.
        (numSteppingTasks): Removed.
        (lineCountMap): Added. Need to keep track of iterations on a Task-
specific
        level.
        (setUpStep): Update lineCountMap.
        (stepIn): Updated to use lineCountMap, removed redundant lineMap 
putting.
        (stepCompleted): Clear out lineCountMap.
        (updateExecuted): No longer let state == STOPPED get through.
        (requestAdd): Update numRunningTasks here.
        * TestRunState.java (stepAssertions): Fixed up a couple assertions.
        * TestStepping.java: Removed debugging prints.
        (stepAssertions): Fixed assertions.
        (LockObserver.update): Cleaned up.