Skip to content

Commit

Permalink
common: report non-voting error if cslinker fails
Browse files Browse the repository at this point in the history
... to tag important findings in the full results

Related: #124
  • Loading branch information
kdudka committed Sep 27, 2023
1 parent a99784c commit 2637404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/common/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,8 @@ def finalize_results(js_file, results, props):
tmp_js_file = re.sub("\\.js", "-tmp.js", js_file)
cmd = "cslinker --implist '%s' '%s' > '%s' && mv -v '%s' '%s'" \
% (imp_js_file, js_file, tmp_js_file, tmp_js_file, js_file)
results.exec_cmd(cmd, shell=True)
if 0 != results.exec_cmd(cmd, shell=True):
results.error("failed to tag important findings in the full results", ec=0)

(err_file, _) = transform_results(js_file, results)

Expand Down

0 comments on commit 2637404

Please sign in to comment.