BIND 10 #614: Run unit tests with Valgrind
BIND 10 Development
do-not-reply at isc.org
Tue Mar 1 21:46:10 UTC 2011
#614: Run unit tests with Valgrind
-------------------------------------+-------------------------------------
Reporter: stephen | Owner: vorner
Type: task | Status: assigned
Priority: major | Milestone: A-Team-
Component: | Sprint-20110309
Unclassified | Resolution:
Keywords: | Sensitive: 0
Estimated Number of Hours: 0.0 | Add Hours to Ticket: 0
Billable?: 1 | Total Hours: 0
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jinmei):
Additional comments: I've installed valgrind on my macbook pro and ran
the scripts, finding the following portability issues:
- -executable option for find wasn't available
- if [ -n "$FAILED" ] didn't work (-n was considered a program)
For the first issue, I think we can simply remove this option in practice,
until we really have a file named "run_unittests" that should be excluded
and can only be excluded with this option (which doesn't seem to be the
case for now).
The second issue can be solved by explicitly specifying 'test' instead of
[.
I'm attaching a proposed patch.
--
Ticket URL: <http://bind10.isc.org/ticket/614#comment:7>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list