Bug 3628 - Using funit-exec in a test case doesn't exec.
Summary: Using funit-exec in a test case doesn't exec.
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nurdin Premji
URL:
Keywords:
Depends on:
Blocks: 3540
  Show dependency treegraph
 
Reported: 2006-11-30 21:04 UTC by Nurdin Premji
Modified: 2006-12-01 00:17 UTC (History)
0 users

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


Attachments
Log of what is happening in this failed test. (2.20 KB, text/x-log)
2006-11-30 21:05 UTC, Nurdin Premji
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nurdin Premji 2006-11-30 21:04:08 UTC
The test case frysk.proc.TestMemory.test64To32Isa in the newIsa branch fails
without a signal being received or sent by the test process. (So it isn't execing?)

fails with: 

 test64To32Isa(frysk.proc.TestMemory)junit.framework.AssertionFailedError: event
loop run explictly stopped (assertExec (Sig_USR2))
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib.assertRunUntilStop(TestRunner)
   at frysk.proc.TestLib$AckHandler.assertAwait(TestRunner)
   at frysk.proc.TestLib$AckHandler.await(TestRunner)
   at frysk.proc.TestMemory.test64To32Isa(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 Nurdin Premji 2006-11-30 21:05:01 UTC
Created attachment 1444 [details]
Log of what is happening in this failed test.
Comment 2 Nurdin Premji 2006-12-01 00:17:24 UTC
Fixed
2006-11-30
frysk-core/frysk/pkglibexecdir/CL
	* funit-exec.c (stringtolong): Added, better parsing of integer values.
	(main): Unmasked SIGUSR1 and SIGUSR2 so that test can be run from an funit
testcase.
	Send a sigalrm so that the process dies when it is supposed to.