[Bug 1865] New: Coverage Improvement: strto01 testcase
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Fri Jul 29 19:55:42 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1865
Summary: Coverage Improvement: strto01 testcase
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 1255
--> https://www.rtems.org/bugzilla/attachment.cgi?id=1255
Patch to testcase : rtems/testsuites/libtests/stringto01
ENVIRONMENT:
qemuppc / Couverture QEMU emulator version 0.14.0
TEST TYPE:
qemuppc_OsPD
COVERED CODE:
In comparison to latest run:
http://www.rtems.org/ftp/pub/rtems/people/joel/coverage/qemuppc/qemuppc-OsPD-20110727-1713/uncovered.html
Following coverage ranges are covered by this patch:
stringtodouble.c:52 - stringtodouble.c:52
stringtofloat.c:52 - stringtofloat.c:52
stringtoint.c:53 - stringtoint.c:53
stringtounsignedchar.c:53 - stringtounsignedchar.c:52
stringtounsignedchar.c:58 - stringtounsignedchar.c:59
CHANGES DESCRIPTION:
added upper boundary conditions check for:
- stringtounsignedchar.c
added low boundary conditions check for:
- stringtoint.c
- stringtodouble.c
- stringtofloat.c
added exclusive case for stringtounsignedchar.c, where (UCHAR_MAX < ULONG_MAX)
and concerted value is between UCHAR_MAX and ULONG_MAX
--
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