]> granicus.if.org Git - icinga2/commitdiff
Fix livestatus unit tests on Linux/Windows
authorGunnar Beutner <gunnar.beutner@netways.de>
Sun, 28 Aug 2016 13:14:49 +0000 (15:14 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sun, 28 Aug 2016 13:14:49 +0000 (15:14 +0200)
refs #8806

test/CMakeLists.txt
test/livestatus-test.cpp

index 7ad25426d80564c1365bd331659f935f07caa50e..e895b0ea7de5c29a87bc0ff2f926466ef3468d3a 100644 (file)
@@ -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
   )
index 18aa93207a4b1e4b13ede26ea7befbc104d33ea8..37ff491d7653fbbbd1f4d1e455dbf9b070f082a5 100644 (file)
@@ -52,6 +52,8 @@ struct LivestatusFixture
        static void CreateTestObjects(void)
        {
                String config = R"CONFIG(
+library "methods"
+
 object CheckCommand "dummy" {
   command = "/bin/echo"
 }