2
0

Add Google test based tests.

Initial testing include an "id test", which really just a
template test at this point, and a temperature sensor test.

The google test code is included in this commit. It will
eventually be taken out and replaced with a pull from a google
external repo.

Change-Id: I591818a9c169f4654fc8d8f17cf648f227d72545
Este cometimento está contido em:
Chris Freehill
2020-01-06 11:15:19 -06:00
ascendente dc6f6f3e9a
cometimento ca4344f5fa
345 ficheiros modificados com 139118 adições e 3 eliminações
@@ -0,0 +1,30 @@
//
// DebugProject.xcconfig
//
// These are Debug Configuration project settings for the gtest framework and
// examples. It is set in the "Based On:" dropdown in the "Project" info
// dialog.
// This file is based on the Xcode Configuration files in:
// https://github.com/google/google-toolbox-for-mac
//
#include "General.xcconfig"
// No optimization
GCC_OPTIMIZATION_LEVEL = 0
// Deployment postprocessing is what triggers Xcode to strip, turn it off
DEPLOYMENT_POSTPROCESSING = NO
// Dead code stripping off
DEAD_CODE_STRIPPING = NO
// Debug symbols should be on obviously
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
// Define the DEBUG macro in all debug builds
OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1
// These are turned off to avoid STL incompatibilities with client code
// // Turns on special C++ STL checks to "encourage" good STL use
// GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS