From 76d0671952c187a7456a3c92bba7e22f9c3789cc Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Mon, 25 May 2020 08:46:46 -0400 Subject: [PATCH] Travis: Fix cron. --- nodist/code_coverage | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodist/code_coverage b/nodist/code_coverage index b7efc0528..0aef84544 100755 --- a/nodist/code_coverage +++ b/nodist/code_coverage @@ -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 = ""; } }