From: Tomek Mrugalski Date: Tue, 13 Feb 2018 22:54:26 +0000 (+0000) Subject: [master] Support for Google benchmark added. X-Git-Tag: trac5502_base~5^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=987fbb087617353997ee0c7bcb80d323a5631d50;p=thirdparty%2Fkea.git [master] Support for Google benchmark added. # Conflicts: # doc/guide/install.xml # src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc # src/lib/dhcpsrv/testutils/lease_file_io.cc --- 987fbb087617353997ee0c7bcb80d323a5631d50 diff --cc doc/guide/install.xml index 5cf88fb8f4,a174ee7300..c07680b589 --- a/doc/guide/install.xml +++ b/doc/guide/install.xml @@@ -270,10 -264,10 +270,10 @@@ Debian and Ubuntu are a developer planning to contribute to Kea, please fork our Github repository and use the "pull request" mechanism to request integration of your code. Please consult - for help on + https://help.github.com/articles/fork-a-repo/ for help on how to fork a Github repository. - The Kea - The Kea - Developer's Guide contains more information about the process, as ++ The Kea + Developer's Guide contains more information about the process, as well as describing the requirements for contributed code to be accepted by ISC. @@@ -321,21 -315,21 +321,21 @@@ - --with-dhcp-mysql + --with-mysql - Build Kea with code to allow it to store leases (and access - host reservations) in a MySQL database. + Build Kea with code to allow it to store leases and + host reservations in a MySQL database. - --with-dhcp-pgsql + --with-pgsql - Build Kea with code to allow it to store leases (and access - host reservations) in a PostgreSQL database. + Build Kea with code to allow it to store leases and + host reservations in a PostgreSQL database. @@@ -347,7 -351,19 +357,20 @@@ Google Test framework. This option specifies the path to the gtest source. (If the framework is not installed on your system, it can be downloaded - from https://code.google.com/p/googletest.) ++ from https://github.com/google/googletest.) + from .) + + + + + + --with-benchmark, --with-benchmark-source + + Enable the building of the database backend + benchmarks using the Google Benchmark framework. This + option specifies the path to the gtest source. (If the + framework is not installed on your system, it can be downloaded + from .) diff --cc src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc index 1209677ace,745fd7f612..646e0ee462 --- a/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc +++ b/src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc @@@ -18,7 -20,7 +18,9 @@@ #include #include #include ++ +#include + #include #include #include diff --cc src/lib/dhcpsrv/testutils/lease_file_io.cc index edeec4f85d,c52740776d..71cab52702 --- a/src/lib/dhcpsrv/testutils/lease_file_io.cc +++ b/src/lib/dhcpsrv/testutils/lease_file_io.cc @@@ -4,9 -4,7 +4,8 @@@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. +#include - - #include + #include #include #include