blob: 7dfc007fa432ad9ed325160df86ad232b391ea7c (
plain)
1
2
3
4
5
6
7
|
set(unitybuild_c0 "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/tgt.dir/Unity/unity_0.c")
file(STRINGS ${unitybuild_c0} unitybuild_c_strings REGEX "/s[0-9]+.c\"$" )
list(LENGTH unitybuild_c_strings number_of_includes)
if(NOT number_of_includes EQUAL 8)
set(RunCMake_TEST_FAILED "Generated unity doesn't include the expect number of files")
return()
endif()
|