Bug 4549

Summary: DisplayVariable should not change if the variable does not
Product: frysk Reporter: Adam Jocksch <ajocksch>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 4547    

Description Adam Jocksch 2007-05-25 17:41:00 UTC
When the underlying variable does not change, the DisplayVariable tracking it
should report the same value.
Comment 1 Adam Jocksch 2007-05-31 17:35:01 UTC
This now works, as verified by the Testcase in frysk.rt.TestDisplayValue.

frysk-core/frysk/rt:
2007-05-31  Adam Jocksch  <ajocksch@redhat.com>

	* DisplayValue.java (DisplayValue): Now takes a task object.
	(isInScope): Now correctly returns whether the varliable is in scope.
	(update): Added.
	* TestDisplayValue.java (testVariableValueChanged): Enabled, testcase
	now passes.
	(testVariableValueNotChanged): Ditto.

frysk-core/frysk/pkglibdir:
2007-05-31  Adam Jocksch  <ajocksch@redhat.com>

	* funit-rt-varchange.c: Added phoney function calls to stop the
	compiler from optimizing out lines of code.