BIND 10 #2679: use value-param tests for database tests, not type-param tests
BIND 10 Development
do-not-reply at isc.org
Fri Feb 1 06:24:46 UTC 2013
#2679: use value-param tests for database tests, not type-param tests
-------------------------------------+-------------------------------------
Reporter: | Owner:
jinmei | Status: new
Type: | Milestone: Next-Sprint-
defect | Proposed
Priority: | Keywords:
medium | Sensitive: 0
Component: data | Sub-Project: DNS
source | Estimated Difficulty: 0
CVSS Scoring: | Total Hours: 0
Defect Severity: N/A |
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
I suggest switching from type parameterized tests (TYPED_TEST) to
value parameterized tests (TEST_P) for
datasrc/tests/database_unittest.
Type parameterized tests are C++-templated heavily and requires a lot
of build time and sometimes even cause build failure (as a result of
requesting larger memory). This will be even heavier when we support
other databases.
FYI: auth query_unittest uses value parameterized tests to avoid this
trap.
--
Ticket URL: <http://bind10.isc.org/ticket/2679>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list