You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Report coverage errors via the console.
This helps with debugging coverage issues on remote services like Travis.
This commit is contained in:
@@ -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>
|
<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>
|
||||||
|
|
||||||
|
<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>
|
<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>
|
<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>
|
</release-item>
|
||||||
|
@@ -1047,8 +1047,15 @@ eval
|
|||||||
|
|
||||||
if ($iUncoveredLines != 0)
|
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++;
|
$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
|
# Else test how much partial coverage there was
|
||||||
|
Reference in New Issue
Block a user