[Bug 1857] New: Branch Coverage Improvement: schedulerpriorityyield.c:47
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Thu Jul 28 19:29:08 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1857
Summary: Branch Coverage Improvement:
schedulerpriorityyield.c:47
Product: RTEMS
Version: HEAD
Platform: All
OS/Version: RTEMS
Status: NEW
Severity: normal
Priority: P3
Component: testing
AssignedTo: joel.sherrill at oarcorp.com
ReportedBy: pzagor at agh.edu.pl
Created attachment 1247
--> https://www.rtems.org/bugzilla/attachment.cgi?id=1247
tar with nes test case folder, should be unpacked in /rtems/testsuites/sptests
I did this one as you suggested. Removed timer, but had to add:
- seting init task at priority 2 to make sure that the second task is at equal
priority
- adding code to print task name to standard output after yielding to make sure
that correct task was actually chosen
Test explanation:
test where there is more than one thread at a priority with the executing
thread being non-preemptive. Create a higher priority thread and then yield.
sparc init task at priority 2, non-preemptive create task at priority 2 create
task at priority 1 yield
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list