]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Disable a test conditionally
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 31 Jul 2013 07:35:07 +0000 (09:35 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 31 Jul 2013 07:35:07 +0000 (09:35 +0200)
As the AuthSrvTest.postReconfigure needs shared memory.

src/bin/auth/tests/auth_srv_unittest.cc

index 99ad889ca99051b7a1ec7eb3fd4f0e111322880c..9a586927725329642be0c6e78907daa0d529ca0f 100644 (file)
@@ -2144,7 +2144,11 @@ TEST_F(AuthSrvTest, loadZoneCommand) {
 
 // Test that the auth server subscribes to the segment readers group when
 // there's a remotely mapped segment.
+#ifdef USE_SHARED_MEMORY
 TEST_F(AuthSrvTest, postReconfigure) {
+#else
+TEST_F(AuthSrvTest, DISABLED_postReconfigure) {
+#endif
     FakeSession session(ElementPtr(new ListElement),
                         ElementPtr(new ListElement),
                         ElementPtr(new ListElement));