You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update to coverity 2023.6.1 MISRA check
* Rename "BUILD_UNIT_TESTS" to "UNITTEST" to align with other FreeRTOS libraries
* Add "COV_ANALYSIS" cmake variable for coverity_analysis project
# ==================================== Unit Test Configuration ====================================
64
72
65
-
if(${UNITTEST})
73
+
if(UNITTEST)
66
74
67
75
# Include Unity build configuration.
68
76
include( unit-test/unity_build.cmake )
@@ -71,7 +79,12 @@ if(${UNITTEST})
71
79
# if BUILD_CLONE_SUBMODULES configuration is enabled.
72
80
if( NOTEXISTS${UNITY_DIR}/src )
73
81
# Attempt to clone Unity.
74
-
clone_unity()
82
+
if( ${BUILD_CLONE_SUBMODULES} )
83
+
clone_unity()
84
+
else()
85
+
message( FATAL_ERROR"The required submodule Unity does not exist. Either clone it manually, or set BUILD_CLONE_SUBMODULES to 1 to automatically clone it during build." )
0 commit comments