Travis: Fix cron.

This commit is contained in:
Wilson Snyder 2020-05-25 08:46:46 -04:00
parent 424769c32b
commit 76d0671952

View File

@ -231,7 +231,8 @@ sub test {
$comb .= " -a $info";
# Need to batch them to avoid overrunning shell command length limit
if (length($comb) > 10000 || $info eq $infos[$#infos]) {
run("cd $cc_dir ; lcov -a app_total.info $comb -o app_total.info");
# .info may be empty, so ignore errors (unfortunately)
run("cd $cc_dir ; lcov -a app_total.info $comb -o app_total.info || true");
$comb = "";
}
}