From: Michal 'vorner' Vaner Date: Wed, 31 Jul 2013 07:35:07 +0000 (+0200) Subject: Disable a test conditionally X-Git-Tag: bind10-1.2.0beta1-release~310 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4bca9c538b8deddfc49694d35bebd44c0bbdfc81;p=thirdparty%2Fkea.git Disable a test conditionally As the AuthSrvTest.postReconfigure needs shared memory. --- diff --git a/src/bin/auth/tests/auth_srv_unittest.cc b/src/bin/auth/tests/auth_srv_unittest.cc index 99ad889ca9..9a58692772 100644 --- a/src/bin/auth/tests/auth_srv_unittest.cc +++ b/src/bin/auth/tests/auth_srv_unittest.cc @@ -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));