File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -242,10 +242,10 @@ set(JSON_TEMPLATE
242
242
243
243
set (SRC_FILE_TEMPLATE
244
244
"{
245
- \" name\" : \"\@ GCOV_SRC_REL_PATH\@\" ,
246
- \" source_digest\" : \"\@ GCOV_CONTENTS_MD5\@\" ,
247
- \" coverage\" : \@ GCOV_FILE_COVERAGE\@
248
- }"
245
+ \" name\" : \"\@ GCOV_SRC_REL_PATH\@\" ,
246
+ \" source_digest\" : \"\@ GCOV_CONTENTS_MD5\@\" ,
247
+ \" coverage\" : \@ GCOV_FILE_COVERAGE\@
248
+ }"
249
249
)
250
250
251
251
message ("\n Generate JSON for files:" )
@@ -261,7 +261,8 @@ foreach (GCOV_FILE ${GCOV_FILES})
261
261
262
262
# The new coveralls API doesn't need the entire source (Yay!)
263
263
# However, still keeping that part for now. Will cleanup in the future.
264
- file (MD5 ${GCOV_SRC_PATH} GCOV_CONTENTS_MD5)
264
+ file (MD5 "${GCOV_SRC_PATH} " GCOV_CONTENTS_MD5)
265
+ message ("MD5: ${GCOV_SRC_PATH} = ${GCOV_CONTENTS_MD5} " )
265
266
266
267
# Loads the gcov file as a list of lines.
267
268
# (We first open the file and replace all occurences of [] with _
You can’t perform that action at this time.
0 commit comments