annotate tests/src/libirccd/rule-util/CMakeLists.txt @ 757:97b356010785

Irccd: create (command|jsapi)::registry Make two list of constructor functions to initialize all command and all Javascript modules to avoid duplicating efforts in case of change. While here, update test fixtures to load all of them for simplicity.
author David Demelier <markand@malikania.fr>
date Mon, 06 Aug 2018 21:27:00 +0200
parents 84537e43b352
children 8c44bbcbbab9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
687
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
1 #
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 # CMakeLists.txt -- CMake build system for irccd
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 #
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 # Copyright (c) 2013-2018 David Demelier <markand@malikania.fr>
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 #
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # Permission to use, copy, modify, and/or distribute this software for any
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # purpose with or without fee is hereby granted, provided that the above
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 # copyright notice and this permission notice appear in all copies.
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 #
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
17 #
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
18
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
19 irccd_define_test(
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
20 NAME rule-util
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
21 SOURCES main.cpp
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
22 LIBRARIES libirccd
84537e43b352 Tests: add [rule] load tests, continue #779
David Demelier <markand@malikania.fr>
parents:
diff changeset
23 )