Commit 592d9133 authored by Philippe Coval's avatar Philippe Coval Committed by Phil Coval

build: Include gtest header using system path

Change-Id: If22cffaa199d1057497019fd45c502b8ae69b8de
Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20341Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
(cherry picked from commit 4ec6ab95)
Reviewed-on: https://gerrit.iotivity.org/gerrit/19833
parent 166b7067
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "iotivity_config.h" #include "iotivity_config.h"
#include "plugininterface.h" #include "plugininterface.h"
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <mutex> #include <mutex>
#include <condition_variable> #include <condition_variable>
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocrandom.h" #include "ocrandom.h"
#include "octypes.h" #include "octypes.h"
#include "oic_time.h" #include "oic_time.h"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <mutex> #include <mutex>
#include <condition_variable> #include <condition_variable>
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocrandom.h" #include "ocrandom.h"
#include "ipca.h" #include "ipca.h"
#include "testelevatorserver.h" #include "testelevatorserver.h"
......
...@@ -23,7 +23,7 @@ extern "C" { ...@@ -23,7 +23,7 @@ extern "C" {
#include "ocrandom.h" #include "ocrandom.h"
} }
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "math.h" #include "math.h"
......
...@@ -24,7 +24,7 @@ extern "C" { ...@@ -24,7 +24,7 @@ extern "C" {
#include "ocrandom.h" #include "ocrandom.h"
} }
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "math.h" #include "math.h"
#define ARR_SIZE (20) #define ARR_SIZE (20)
......
...@@ -24,7 +24,7 @@ extern "C" { ...@@ -24,7 +24,7 @@ extern "C" {
#include "oic_malloc.h" #include "oic_malloc.h"
} }
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#define _POSIX_C_SOURCE 200809L #define _POSIX_C_SOURCE 200809L
#endif // _POSIX_C_SOURCE #endif // _POSIX_C_SOURCE
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <oic_string.h> #include <oic_string.h>
#include <oic_malloc.h> #include <oic_malloc.h>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "oic_time.h" #include "oic_time.h"
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <stdint.h> #include <stdint.h>
// Tests to get current time in milli seconds // Tests to get current time in milli seconds
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
******************************************************************/ ******************************************************************/
#include "platform_features.h" #include "platform_features.h"
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "cainterface.h" #include "cainterface.h"
#include "cautilinterface.h" #include "cautilinterface.h"
#include "cacommon.h" #include "cacommon.h"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#pragma warning(disable : 4200) #pragma warning(disable : 4200)
#endif #endif
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "cainterface.h" #include "cainterface.h"
#include "cautilinterface.h" #include "cautilinterface.h"
#include "cacommon.h" #include "cacommon.h"
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <stdio.h> #include <stdio.h>
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "oic_malloc.h" #include "oic_malloc.h"
#include "caprotocolmessage.h" #include "caprotocolmessage.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "iotivity_config.h" #include "iotivity_config.h"
#include "gtest/gtest.h" #include <gtest/gtest.h>
#ifdef HAVE_PTHREAD_H #ifdef HAVE_PTHREAD_H
#include <pthread.h> #include <pthread.h>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#endif // _POSIX_C_SOURCE #endif // _POSIX_C_SOURCE
#include "iotivity_config.h" #include "iotivity_config.h"
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "octhread.h" #include "octhread.h"
#include <cathreadpool.h> #include <cathreadpool.h>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <cinttypes> #include <cinttypes>
#include "iotivity_config.h" #include "iotivity_config.h"
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "time.h" #include "time.h"
#include "octypes.h" #include "octypes.h"
#ifdef HAVE_WINSOCK2_H #ifdef HAVE_WINSOCK2_H
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "uarraylist.h" #include "uarraylist.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ulinklist.h" #include "ulinklist.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "uqueue.h" #include "uqueue.h"
......
...@@ -24,7 +24,7 @@ extern "C" { ...@@ -24,7 +24,7 @@ extern "C" {
} }
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
......
...@@ -32,7 +32,7 @@ extern "C" ...@@ -32,7 +32,7 @@ extern "C"
#include "payload_logging.h" #include "payload_logging.h"
} }
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
......
...@@ -33,7 +33,7 @@ extern "C" ...@@ -33,7 +33,7 @@ extern "C"
#include "coap/pdu.h" #include "coap/pdu.h"
} }
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* limitations under the License. * limitations under the License.
* *
* *****************************************************************/ * *****************************************************************/
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "credentialgenerator.h" #include "credentialgenerator.h"
#include "oic_malloc.h" #include "oic_malloc.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* limitations under the License. * limitations under the License.
* *
* *****************************************************************/ * *****************************************************************/
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocprovisioningmanager.h" #include "ocprovisioningmanager.h"
static OicSecAcl_t acl1; static OicSecAcl_t acl1;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocstack.h" #include "ocstack.h"
#include "utlist.h" #include "utlist.h"
#include "logger.h" #include "logger.h"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* limitations under the License. * limitations under the License.
* *
* *****************************************************************/ * *****************************************************************/
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "pmutility.h" #include "pmutility.h"
#include "pmutilityinternal.h" #include "pmutilityinternal.h"
#include "doxmresource.h" #include "doxmresource.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* *
* *****************************************************************/ * *****************************************************************/
#include "iotivity_config.h" #include "iotivity_config.h"
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "provisioningdatabasemanager.h" #include "provisioningdatabasemanager.h"
#ifdef _MSC_VER #ifdef _MSC_VER
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* limitations under the License. * limitations under the License.
* *
* *****************************************************************/ * *****************************************************************/
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "secureresourceprovider.h" #include "secureresourceprovider.h"
static OicSecAcl_t acl; static OicSecAcl_t acl;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <coap/utlist.h> #include <coap/utlist.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "ocstack.h" #include "ocstack.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "cainterface.h" #include "cainterface.h"
#include "ocstack.h" #include "ocstack.h"
#include "ocpayload.h" #include "ocpayload.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* *
******************************************************************/ ******************************************************************/
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "base64.h" #include "base64.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocpayload.h" #include "ocpayload.h"
#include "ocstack.h" #include "ocstack.h"
#include "oic_malloc.h" #include "oic_malloc.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
******************************************************************/ ******************************************************************/
#ifdef __WITH_DTLS__ #ifdef __WITH_DTLS__
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "logger.h" #include "logger.h"
#include "ocpayload.h" #include "ocpayload.h"
#include "ocstack.h" #include "ocstack.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "directpairing.h" #include "directpairing.h"
using namespace std; using namespace std;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocstack.h" #include "ocstack.h"
#include "ocserverrequest.h" #include "ocserverrequest.h"
#include "oic_string.h" #include "oic_string.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
//Not supported on Arduino due lack of absolute time need to implement iCalendar //Not supported on Arduino due lack of absolute time need to implement iCalendar
#ifndef WITH_ARDUINO #ifndef WITH_ARDUINO
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "iotvticalendar.h" #include "iotvticalendar.h"
#include "logger.h" #include "logger.h"
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* *
******************************************************************/ ******************************************************************/
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "pbkdf2.h" #include "pbkdf2.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocstack.h" #include "ocstack.h"
#include "cainterface.h" #include "cainterface.h"
#include "srmresourcestrings.h" #include "srmresourcestrings.h"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocpayload.h" #include "ocpayload.h"
#include "ocstack.h" #include "ocstack.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "iotivity_config.h" #include "iotivity_config.h"
#include "gtest/gtest.h" #include <gtest/gtest.h>
#ifdef HAVE_PWD_H #ifdef HAVE_PWD_H
#include <pwd.h> #include <pwd.h>
#endif #endif
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "oic_malloc.h" #include "oic_malloc.h"
#include "ocstack.h" #include "ocstack.h"
#include <stdlib.h> #include <stdlib.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
// //
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "ocstack.h" #include "ocstack.h"
#include "srmutility.h" #include "srmutility.h"
#include "oic_string.h" #include "oic_string.h"
......
...@@ -29,7 +29,7 @@ extern "C" ...@@ -29,7 +29,7 @@ extern "C"
#include "oic_malloc.h" #include "oic_malloc.h"
} }
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
......
...@@ -31,7 +31,7 @@ extern "C" ...@@ -31,7 +31,7 @@ extern "C"
#include "ocresourcehandler.h" #include "ocresourcehandler.h"
} }
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <iostream> #include <iostream>
#include "gtest/gtest.h" #include <gtest/gtest.h>
#include "HippoMocks/hippomocks.h" #include "HippoMocks/hippomocks.h"
#include "OCPlatform.h" #include "OCPlatform.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=