mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Report coverage errors via the console.
This helps with debugging coverage issues on remote services like Travis.
This commit is contained in:
parent
5f2884cb29
commit
81952c41f4
@ -161,6 +161,10 @@
|
||||
<p>Improve speed of C unit tests. Preserve object files between tests and use a Makefile to avoid rebuilding object files.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Report coverage errors via the console. This helps with debugging coverage issues on remote services like Travis.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>No longer run <id>master</id> branch through CI. The <id>integration</id> branch will be run through CI and then pushed to <id>master</id> with github status checks.</p>
|
||||
</release-item>
|
||||
|
@ -1047,8 +1047,15 @@ eval
|
||||
|
||||
if ($iUncoveredLines != 0)
|
||||
{
|
||||
&log(ERROR, "code module ${strCodeModule} is not fully covered");
|
||||
&log(ERROR, "\ncode module ${strCodeModule} is not fully covered");
|
||||
&log(ERROR, ('-' x 80));
|
||||
$iUncoveredCodeModuleTotal++;
|
||||
|
||||
executeTest(
|
||||
"/usr/bin/cover -report text ${strCoveragePath} --select ${strBackRestBase}/lib/" . BACKREST_NAME .
|
||||
"/${strCodeModule}.pm",
|
||||
{bShowOutputAsync => true});
|
||||
&log(ERROR, ('-' x 80));
|
||||
}
|
||||
}
|
||||
# Else test how much partial coverage there was
|
||||
|
Loading…
Reference in New Issue
Block a user