@@ -164,7 +164,7 @@ upload_to_http:
164
164
- *use_ci_tools
165
165
script :
166
166
- cit_add_ssh_key "${HTTP_UPLOAD_KEY}"
167
- - ARCHIVE_NAME=$(cat ${DIST_ART_DIR}/dist_name_linux-armel )
167
+ - ARCHIVE_NAME=$(cat ${DIST_ART_DIR}/dist_name_linux-armhf )
168
168
- pushd ${DIST_ART_DIR}
169
169
- scp ${ARCHIVE_NAME} ${HTTP_UPLOAD_DIR}/openocd/
170
170
- popd
@@ -220,25 +220,25 @@ create_coverage_reports:
220
220
- mkdir -p cov_infos
221
221
- mkdir -p dist
222
222
# Below lines copies all .info files into cov_infos folder
223
- - >
223
+ - >
224
224
folder_list=$(ls -d build_test_app*);
225
225
for each_folder in $folder_list ;
226
- do
226
+ do
227
227
cp ${each_folder}/*.info cov_infos;
228
228
done
229
229
- ls -la cov_infos/
230
- # Creating a html report of coverage files.
230
+ # Creating a html report of coverage files.
231
231
- genhtml --ignore-errors source cov_infos/*.info -o lcov_html_report/
232
- - tar czf dist/lcov_all_report.tar.gz lcov_html_report/
233
- # Below lines collecting all coverage file names with '-a' flag for lcov merge command.
234
- - >
232
+ - tar czf dist/lcov_all_report.tar.gz lcov_html_report/
233
+ # Below lines collecting all coverage file names with '-a' flag for lcov merge command.
234
+ - >
235
235
FILES="" ;
236
236
for each_file in cov_infos/*.info ;
237
- do
237
+ do
238
238
FILES+=" -a ${each_file}" ;
239
239
done
240
240
- lcov ${FILES} -o cov_infos/merged.info
241
- # Line in below creates a txt file from merged coverage file which includes coverage percentages.
241
+ # Line in below creates a txt file from merged coverage file which includes coverage percentages.
242
242
- lcov --rc lcov_list_width=150 --list cov_infos/merged.info > cov_infos/metrics_input.txt
243
243
- python3 tools/list_to_metrics.py --file cov_infos/metrics_input.txt
244
244
0 commit comments