resource-encapsulation: Bypass test for gcc-7 47/26547/3
authorPhilippe Coval <p.coval@samsung.com>
Sun, 22 Jul 2018 09:07:15 +0000 (11:07 +0200)
committerSanjeev BA <iamsanjeev@gmail.com>
Sat, 28 Jul 2018 09:24:35 +0000 (09:24 +0000)
This should be reworked soon or later

Change-Id: I5ec710a552305e692a16d17f5bac5accc171c641
Origin: https://gerrit.iotivity.org/gerrit/#/c/26503/
Signed-off-by: Philippe Coval <p.coval@samsung.com>
service/resource-encapsulation/unittests/ResourceClientTest.cpp

index 3672e14..cf28bb9 100644 (file)
@@ -233,7 +233,8 @@ TEST_F(RemoteResourceObjectTest, QueryParamsForGetWillBePassedToBase)
 
     auto mockHandler = mocks.Mock< CustomHandler >();
 
-#ifdef __clang__
+#if defined (__clang__)                         \
+    || ( defined __GNUC__ && (7 <= __GNUC__))
 #warning "TODO: please fix ResourceClientTest.cpp"
 #else
     mocks.ExpectCall(mockHandler, CustomHandler::handle).