You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
357 B
8 lines
357 B
5 years ago
|
set(unitybuild_c0 "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/tgt.dir/Unity/unity_0_c.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()
|