Bug 4103 - Remove dwfl stuff from StackFrame-related testcases
Summary: Remove dwfl stuff from StackFrame-related testcases
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: 4107
Blocks: 2234 3346
  Show dependency treegraph
 
Reported: 2007-02-27 14:16 UTC by Mike Cvet
Modified: 2007-03-15 18:49 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 Mike Cvet 2007-02-27 14:16:08 UTC
And instead use line info from the frames themselves, generating traces 
beforehand.
Comment 1 Mike Cvet 2007-02-27 16:46:44 UTC
2007-02-27  Mike Cvet  <mcvet@redhat.com>

	* TestRunState.java: Removed references to Dwfl objects. Fixes #4103.
	* TestStepping.java: Ditto.
	* TestStackBacktrace.java: Ditto.
Comment 2 Mike Cvet 2007-02-27 16:47:02 UTC
2007-02-27  Mike Cvet  <mcvet@redhat.com>

	* TestRunState.java: Removed references to Dwfl objects. Fixes #4103.
	* TestStepping.java: Ditto.
	* TestStackBacktrace.java: Ditto.
Comment 3 Andrew Cagney 2007-02-27 17:43:20 UTC
1)
testRecursiveLineStepping(frysk.rt.TestStepping)junit.framework.AssertionFailedError:
event loop run explictly stopped (Attempting to add observer)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.rt.TestStepping.testRecursiveLineStepping(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArchCases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)
Comment 4 Mike Cvet 2007-03-05 16:04:31 UTC
I can't reproduce the above, but that's because I'm running into 4107 before it 
happens.
Comment 5 Mike Cvet 2007-03-15 18:49:39 UTC
2007-03-15  Mike Cvet  <mcvet@redhat.com>

	* TestStepping.java: Deleted old constants, added new ones.
	(test): Determines which test is running.
	(CFile): Source file path for test program.
	(testRecursiveLineStepping): Removed.
	(testASMStepping): Removed.
	(testLineStepFunctionCall): Added.
	(testLineStepIfStatementPass): Added.
	(testLineStepIfStatementFail): Added.
	(testLineStepFunctionReturn): Added.
	(testASMSingleStep): Added.
	(testASMMultiStep): Added.
	(testASMJump): Added.
	(setUpTest): Re-written.
	(assertions): Added. Cleaner method for making assertions on
	stepping results.
	(AttachedObserver.updateAttached): Delete AttachedObserver from task.
	(AttachedObserver.deletedFrom): Add RunState from here.
	(LockObserver.update): Cleaned up.