2 # Copyright (C) 2012-2014 Icinga Development Team (http://www.icinga.org)
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation
16 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
18 include(BoostTestTargets)
21 base-array.cpp base-convert.cpp base-dictionary.cpp base-fifo.cpp
22 base-json.cpp base-match.cpp base-netstring.cpp base-object.cpp
23 base-serialize.cpp base-shellescape.cpp base-stacktrace.cpp
24 base-stream.cpp base-string.cpp base-timer.cpp base-type.cpp
25 base-value.cpp config-ops.cpp icinga-macros.cpp icinga-perfdata.cpp
29 set_property(SOURCE test.cpp PROPERTY EXCLUDE_UNITY_BUILD TRUE)
31 if(ICINGA2_UNITY_BUILD)
32 mkunity_target(test base_test_SOURCES)
36 SOURCES test.cpp ${base_test_SOURCES}
37 LIBRARIES base config icinga
38 TESTS base_array/construct
50 base_dictionary/construct
53 base_dictionary/foreach
54 base_dictionary/remove
61 base_netstring/netstring
66 base_serialize/dictionary
68 base_shellescape/escape_basic
69 base_shellescape/escape_quoted
70 base_stacktrace/stacktrace
71 base_stream/readline_stdio
96 icinga_perfdata/simple
97 icinga_perfdata/quotes
98 icinga_perfdata/multiple
100 icinga_perfdata/warncritminmax
101 icinga_perfdata/invalid
102 icinga_perfdata/multi