Module: check_mk
Branch: master
Commit: 9ba8bda8a28930d2911a382087704409da3c2eb3
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9ba8bda8a28930…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed Oct 18 09:23:00 2017 +0200
Swap expressions to avoid error when checking if a notification context has to be split
Change-Id: Ib3de07bb217642547faadbbc876945b1c5b8b920
---
cmk_base/notify.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cmk_base/notify.py b/cmk_base/notify.py
index 2f0ed09..95035de 100644
--- a/cmk_base/notify.py
+++ b/cmk_base/notify.py
@@ -524,8 +524,9 @@ def notify_rulebased(raw_context, analyse=False):
plugin_context = create_plugin_context(raw_context, params)
rbn_add_contact_information(plugin_context, contacts)
- split_contexts = (params.get("disable_multiplexing") or
- plugin not in ["", "mail", "asciimail"] or
+ split_contexts = (plugin not in ["", "mail", "asciimail"] or
+ # params can be a list (e.g. for custom notificatios)
+ params.get("disable_multiplexing") or
bulk)
if not split_contexts:
plugin_contexts = [plugin_context]
Module: check_mk
Branch: master
Commit: 8145871bdddec49ab77b64a5629556f27817240e
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8145871bdddec4…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Fri Oct 13 15:43:41 2017 +0200
Set up Google Test & Mock in Windows agent chroot
* Build Google Test and Mock from tarball found in Git repository.
Patch a known MinGW compilation bug in Google Test header.
* Install 32 and 64 bit libs and headers in chroot.
* Enable 32bit Wine for running the test executable (for some curious
reason, this is necessary even for running the 64 bit test exe).
Change-Id: Icce9758c5d2d4cf9b0b3395df96ce814d574efc2
---
agents/windows/build-agent | 68 +------------
agents/windows/build.sh | 79 +++++++++++++++
agents/windows/chroot_version | 2 +-
agents/windows/make-agent | 24 +----
agents/windows/make-chroot | 112 +++++++++++----------
agents/windows/test/build-googletest | 40 ++++++++
.../googletest/googletest-release-1.8.0.tar.gz | Bin 0 -> 1281617 bytes
...-googletest-compilation-MinGW-gtest-port.h.diff | 38 +++++++
8 files changed, 226 insertions(+), 137 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=8145871bdd…
Module: check_mk
Branch: master
Commit: da536e08f51792915c862566db67c392d6660bf0
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=da536e08f51792…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Mon Oct 16 15:57:10 2017 +0200
Build unit tests in Win-agent autotools project
* Only run 64 bit unit tests: 64 bit should cover some rare
code paths only built in 64 bit but also all code that is built in 32
bit.
Change-Id: If6c4bb44373069b5405734314407a387f30d7ddd
---
agents/windows/Makefile.am | 20 +-
agents/windows/build-agent | 17 +-
agents/windows/configure.ac | 2 +-
agents/windows/do-chroot | 4 +-
agents/windows/test/MockLogger.cc | 6 +
agents/windows/test/MockLogger.h | 27 +++
agents/windows/test/MockWinApi.cc | 6 +
agents/windows/test/MockWinApi.h | 455 ++++++++++++++++++++++++++++++++++++++
agents/windows/test/gtest_main.cc | 38 ++++
9 files changed, 567 insertions(+), 8 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=da536e08f5…