BIND 10 #542: catching exceptions in run_unittests
BIND 10 Development
do-not-reply at isc.org
Thu May 12 13:26:19 UTC 2011
#542: catching exceptions in run_unittests
-------------------------------------+-------------------------------------
Reporter: | Owner: UnAssigned
jinmei | Status: reviewing
Type: | Milestone:
enhancement | Sprint-20110517
Priority: minor | Resolution:
Component: build | Sensitive: 0
system | Sub-Project: DNS
Keywords: | Estimated Difficulty: 3.0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by stephen):
* owner: stephen => UnAssigned
* status: assigned => reviewing
Comment:
The list of files for this change seems a bit intimidating, but it is
basically the same change repeated for all copies of run_unittests. The
main elements of the change are:
* The code implementing the exception catching is in
src/lib/util/unittests/run_all.{h,cc}
* The util/io/tests directory has been renamed util/io_tests. There was a
dependency loop in the build which has been removed by building all the
utilities code first, followed by the unit tests in the directories tests
and io_tests. (As part of this, the include paths in io_tests/fd*.cc had
to be altered.)
* The run_unittests code have been changed to call the new run_all()
function, and the associated Makefile.am altered to link against the unit
tests library.
--
Ticket URL: <http://bind10.isc.org/ticket/542#comment:7>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list