2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 21:18:02 +00:00

909 Commits

Author SHA1 Message Date
JINMEI Tatuya
3e2a372012 [2340] corrected the position of closing 'fi' for an 'if GXX = yes'. 2012-10-11 10:04:24 -07:00
JINMEI Tatuya
b05952bb39 [2340] added workaround for the clang++ "unused arguments" warn/error.
by specifying -Qunused-arguments.  Also, as a cleanup for better organization
I moved compiler specific settings to earlier part of configure.ac, where
this workaround was added.
2012-10-11 10:04:22 -07:00
JINMEI Tatuya
b770f51096 [2340] Revert "[2340] specify thread flag as part CPPFLAGS, not LDFLAGS."
This reverts commit daf81c8846bf0b4e4308068a019c96beb09c5199.

I believe the sense of the change is correct, but it has effects on
other OSes, so it's probably better to use clang specific workaround
(will commit it later).
2012-10-11 10:04:19 -07:00
JINMEI Tatuya
1426bb5c63 [2340] specify thread flag as part CPPFLAGS, not LDFLAGS.
newer version of clang treats the latter as a fatal error.
2012-10-11 10:04:05 -07:00
Jelte Jansen
030aef1998 [2349] Ignore EXPECT_DEATH when run in valgrind
Valgrind complains (probably rightfully so) that memory is leaking in death-tests. This has been reported upstream, but is not addressed yet, and may not be in the near future, if at all (one response was don't use EXPECT_DEATH).

So I added a checker function, *if* valgrind headers are available, that returns true if the tests are run under valgrind. Death tests are now ignored if so.

Note that we should be very careful about using this; and only use it for things we are sure valgrind can't help, since it is possible to do things differently when using valgrind, which kind of defeats its purpose
2012-10-11 17:22:23 +02:00
JINMEI Tatuya
74911480e9 [2339] changed the search order of python executable: seek python3.x first.
this works around a bit awkward installation setup where there's a link
from "python3" to "python3.x" but not from "python3-config" to the
corresponding "python3.x-config".  That happens for recent versions of
Homebrew.
2012-10-09 13:17:59 -07:00
Mukund Sivaraman
5879860e00 [master] Remove empty GNU-style dist files 2012-10-09 10:21:48 +05:30
JINMEI Tatuya
4973e638d3 [master] Merge branch 'trac1870' 2012-10-08 14:02:58 -07:00
Michal 'vorner' Vaner
7eaa1760f3
Merge #2202
The locking of client lists in auth server. This is to allow background
loading later on.

Conflicts:
	src/bin/auth/auth_srv.cc
	src/bin/auth/auth_srv.h
2012-10-02 21:21:56 +02:00
JINMEI Tatuya
8f7c28971b [1870] removed src/bin/host/Makefile from toplevel configure.ac. 2012-10-01 15:12:15 -07:00
JINMEI Tatuya
c0672d18dc [master] Merge branch 'trac2282merge' 2012-09-26 11:03:47 -07:00
Marcin Siodelski
6c192e5c09 [master] Merge branch 'trac1960'
Conflicts:
	tests/tools/perfdhcp/Makefile.am
	tests/tools/perfdhcp/tests/command_options_unittest.cc
2012-09-26 09:58:50 +02:00
JINMEI Tatuya
360b20fadb [2282] Merge branch 'trac2219' into trac2282 2012-09-25 14:43:03 -07:00
JINMEI Tatuya
97e21bca2d [2219] moved in-memory unit tests under datasrc/tests to resolve dependency.
the tests now depend on libdatasrc, while libdatasrc needs memory.la.
so we need to build any tests after building all libraries.
2012-09-21 16:18:03 -07:00
Marcin Siodelski
f4c07bf162 [1960] Remove unused CLOCK_GETTIME_LDFLAGS and HAVE_GETIFADDRS.
The refactored code neither uses clock_gettime  nor HAVE_GETIFADDRS.
2012-09-21 19:32:08 +02:00
Marcin Siodelski
3d13f1625f [2272] Added changes based on the code review. 2012-09-21 18:22:45 +02:00
Marcin Siodelski
d26707201f [2272] Fixed typo in HAVE_OPTRESET in configure.ac. 2012-09-20 12:02:55 +02:00
Marcin Siodelski
7bedb1f498 [2272] Check for optreset declaration in unistd.h. 2012-09-20 11:19:51 +02:00
Mukund Sivaraman
ee0950bcf9 Merge branch 'master' into trac2108_3
Conflicts fixed:
	src/lib/datasrc/memory/tests/treenode_rrset_unittest.cc
	src/lib/datasrc/memory/treenode_rrset.cc
	src/lib/datasrc/memory/treenode_rrset.h
2012-09-17 17:47:13 +05:30
Marcin Siodelski
a8cf043db8 Merge branch 'trac1959' 2012-09-12 16:14:51 +02:00
Marcin Siodelski
9ddbc590ea [1959] Included perfdhcp/templates folder in Makefiles. 2012-09-12 13:39:47 +02:00
Mukund Sivaraman
365c64286a [2108] Update build for testdata directory 2012-09-06 07:08:26 +05:30
Jeremy C. Reed
4cae76215b [1687]Merge branch 'master' into trac1687
removed the conflicting generated files
2012-08-31 11:16:28 -05:00
Michal 'vorner' Vaner
88b2af9980 [2202] Interface of Mutex wrapper
Created with minimalistic set of functionality. Created a new library
for it, there'll be more thread-related stuff here.
2012-08-31 13:08:53 +02:00
Michal 'vorner' Vaner
6e500e577f Merge #2096
Conflicts:
	src/lib/datasrc/memory/Makefile.am
2012-08-28 11:32:00 +02:00
Naoki Kambe
dcb5ce50b4 [master] Merge branch 'trac2136'
Conflicts:
	tests/system/bindctl/nsx1/b10-config.db.template.in
2012-08-27 10:12:07 +09:00
Jeremy C. Reed
e212ae7726 [master] bump version 2012-08-16 18:17:44 -05:00
JINMEI Tatuya
bddce14fdd [2096] added a simple benchmark test for RdataReader.
for fair comparison, slightly different implementations are used for now,
so the reader.h/cc were copied from the parent directory and modified.
2012-08-15 21:29:48 -07:00
Naoki Kambe
e0a964e89c [2136] Changes regarding the test config file
- moved b10-config_test.db from src/bin/stats/tests to
  src/bin/stats/tests/testdata

- renamed its name to b10-config.db

- changed its format to multiline

These changes are due to the reviewer's comment.
2012-08-08 21:56:32 +09:00
Jelte Jansen
1ecb73e5bf [master] Merge branch 'trac2126' 2012-08-06 09:32:06 +02:00
Jeremy C. Reed
932ddbdd34 [1687] rename configure's --enable-man to --enable-generate-docs 2012-08-02 20:55:20 -05:00
Jeremy C. Reed
b076fa5794 [1687]Merge branch 'master' into trac1687
fixed conflicts by removing already removed files
2012-08-02 15:30:53 -05:00
Jelte Jansen
2ec3c8fcef [2126] rename b10-showtech to isc-sysinfo 2012-08-02 10:13:31 +02:00
JINMEI Tatuya
90f55cdeac [2147] added some more specific workaround in AC_MSG_ERROR(). 2012-08-01 23:31:16 -07:00
JINMEI Tatuya
69d8e5e56f [2147] detect expected build error with offset_ptr in ./configure 2012-08-01 18:19:00 -07:00
Jeremy C. Reed
6a26d459a4 [master]Merge branch 'trac1999' 2012-07-27 10:59:54 -05:00
Jeremy C. Reed
530ee237aa [master] make sure src/bin/auth/tests/testdata is in dist tarball 2012-07-25 12:53:49 -05:00
Michal 'vorner' Vaner
0d4685b3e7
Merge #1976
Finally! This one was big.

With some minor updates to catch up to the changes after merge.

Conflicts:
	src/bin/auth/auth_srv.cc
	src/bin/auth/auth_srv.h
	src/bin/auth/tests/auth_srv_unittest.cc
	src/lib/datasrc/client_list.cc
	src/lib/datasrc/tests/client_list_unittest.cc
2012-07-24 13:18:31 +02:00
JINMEI Tatuya
49a8bcbf81 [2094] setup unittest framework 2012-07-18 12:26:05 -07:00
JINMEI Tatuya
02e3688018 [2094] added a new subdirectory for in-memory backend implementation details 2012-07-18 12:03:12 -07:00
Jelte Jansen
6579b276d1 [1999] remove tabs in gtest configure code 2012-07-16 14:57:11 +02:00
Jeremy C. Reed
da6e2d28b4 [master] bump revision to today 2012-07-12 17:31:16 -05:00
Jeremy C. Reed
794b0e2aa6 [trac1999] handle the gtest build from source for pthreads
When built from source it uses GTEST_HAS_PTHREAD.
See $GTEST_SOURCE/include/gtest/internal/gtest-port.h
which defines it for solaris, linux, hpux (which BIND 10 doesn't know yet).
2012-07-11 18:04:19 -05:00
Jeremy C. Reed
8fccdf262f [trac1999] more work on gtest options
In particular make it work with default --with-gtest-source which is "yes".

And also set the distcheck options the same (but not completely
tested due to #1910).
2012-07-06 18:46:20 -05:00
Jeremy C. Reed
0e338764b6 [trac1999] build libgtest.a is using --with-gtest-source
(also removed an extra space out of an unrelated output)
2012-07-06 16:03:09 -05:00
Jeremy C. Reed
a430ea9289 [trac1999] add new configure option --with-gtest-source=PATH (checkpoint)
This is incomplete and not all tested.

Added --with-gtest-source=PATH for location of the googletest source.

Also tested old method (--with-gtest not source) with gtest 1.6.0.
2012-07-05 21:48:16 -05:00
Michal 'vorner' Vaner
eabb375e7d [1976] Provide default configuration for static data source
So users don't have to set it up, but they can disable it if they want.
2012-07-04 11:08:46 +02:00
Mukund Sivaraman
7e93a92e0d [2062] Add tests for isc.sysinfo.SysInfo 2012-06-29 06:40:26 +05:30
Mukund Sivaraman
86b50d54a6 [2062] Start implementing a b10-showtech utility 2012-06-26 08:58:32 +05:30
Mukund Sivaraman
5cbaf8b762 [master] Use make targets for Valgrind instead of configure switches 2012-06-18 16:27:31 +05:30