BIND 10 #1880: limit core dumps in unittests
BIND 10 Development
do-not-reply at isc.org
Fri May 4 03:45:55 UTC 2012
#1880: limit core dumps in unittests
-------------------------------------+-------------------------------------
Reporter: jreed | Owner: muks
Type: | Status: reviewing
defect | Milestone:
Priority: | Sprint-20120515
medium | Resolution:
Component: | Sensitive: 0
Unclassified | Sub-Project: Core
Keywords: | Estimated Difficulty: 4
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by muks):
Hi vorner
Replying to [comment:8 vorner]:
> There's an indentation problem (tabs used) in the `cantClose` test in
`src/lib/server_common/tests/portconfig_unittest.cc`.
Fixed. :)
> Also, there's another problem. The `testutils` library is now compiled
after some of the libraries that use it. I wasn't able to reorder the
libraries in a way it would work, there seems to be a circular dependency
(well, not really, the testutils is needed by `tests/` subdirectories, not
the real libraries, but automake doesn't track inter-module dependencies
:-(). Maybe, would it be possible to make the no-core function a header-
only one?
Oh yes. Nice catch.. testutils->asiolink->log->testutils. This worked for
me as the deps were already built and I didn't try a clean make. I guess
the header-only function is what we should do.. the other option is to
have a libtestutils2 which won't look so good. :)
I've updated the code to go into the header.
--
Ticket URL: <http://bind10.isc.org/ticket/1880#comment:9>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list