From 20174a0baabb27d63c11c1899ee6aa477b432310 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 28 Aug 2016 15:14:49 +0200 Subject: [PATCH] Fix livestatus unit tests on Linux/Windows refs #8806 --- test/CMakeLists.txt | 2 +- test/livestatus-test.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7ad25426d..e895b0ea7 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -120,7 +120,7 @@ if(ICINGA2_WITH_LIVESTATUS) add_boost_test(livestatus SOURCES livestatus-test.cpp ${livestatus_test_SOURCES} - LIBRARIES base config icinga methods livestatus + LIBRARIES base config icinga livestatus DEPENDENCIES methods TESTS livestatus/hosts livestatus/services ) diff --git a/test/livestatus-test.cpp b/test/livestatus-test.cpp index 18aa93207..37ff491d7 100644 --- a/test/livestatus-test.cpp +++ b/test/livestatus-test.cpp @@ -52,6 +52,8 @@ struct LivestatusFixture static void CreateTestObjects(void) { String config = R"CONFIG( +library "methods" + object CheckCommand "dummy" { command = "/bin/echo" } -- 2.49.0