summaryrefslogtreecommitdiff
path: root/contrib/cirrus/logformatter
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-23 15:31:02 -0400
committerGitHub <noreply@github.com>2020-06-23 15:31:02 -0400
commit0d961a40ba40b3fbd69090c49ee3cec7151f8a8e (patch)
treecf726cb2aa427d330f568977987f55810f1f49ab /contrib/cirrus/logformatter
parentaa6881dd1474506610a85926f58893efe67eb98d (diff)
parentaa16a0aab1576cc8ea21d7407ff64b597e79f10c (diff)
downloadpodman-0d961a40ba40b3fbd69090c49ee3cec7151f8a8e.tar.gz
podman-0d961a40ba40b3fbd69090c49ee3cec7151f8a8e.tar.bz2
podman-0d961a40ba40b3fbd69090c49ee3cec7151f8a8e.zip
Merge pull request #6726 from edsantiago/bats
system tests: invoke with abs path to podman
Diffstat (limited to 'contrib/cirrus/logformatter')
-rwxr-xr-xcontrib/cirrus/logformatter4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/cirrus/logformatter b/contrib/cirrus/logformatter
index 4bfe7b97f..60c1e5985 100755
--- a/contrib/cirrus/logformatter
+++ b/contrib/cirrus/logformatter
@@ -231,6 +231,10 @@ END_HTML
if ($looks_like_bats) {
my $css;
+ # Readability: /long/path/to/podman -> podman (hover for full path)
+ $line =~ s{^(#\s+(#|\$)\s+)(\S+/)(podman\S*)\s}
+ {$1<span title="$3$4">$4</span> };
+
if ($line =~ /^ok\s.*\s# skip/) { $css = 'skipped' }
elsif ($line =~ /^ok\s/) { $css = 'passed' }
elsif ($line =~ /^not\s+ok\s/) { $css = 'failed' }