diff mbox series

[OSSTEST,2/4] cs-bisection-step: need_repro: Provision for $xinfo

Message ID 20200604124459.18453-3-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series bisection: Skip some useless repros | expand

Commit Message

Ian Jackson June 4, 2020, 12:44 p.m. UTC
This becomes part of the message but right now it is juse "".

So no functional change yet.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 cs-bisection-step | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/cs-bisection-step b/cs-bisection-step
index 35085e89..90e0601a 100755
--- a/cs-bisection-step
+++ b/cs-bisection-step
@@ -828,6 +828,7 @@  sub need_repro ($$$) {
     return 1 if conflicted_warning($n, $what);
 
     my $fl= $n->{Flights} || [];
+    my $xinfo='';
     foreach my $f (sort { $a->{Flight} <=> $b->{Flight} } @$fl) {
         next unless $f->{Flight} > $repro_lastflight;
 	if ($f->{Result} ne $st) {
@@ -837,7 +838,7 @@  sub need_repro ($$$) {
 	}
         print STDERR " ".
             ($repro_count ? "Repro" : "Result").
-            " found: flight $f->{Flight} ($st), for $what\n";
+            " found: flight $f->{Flight} ($st), for $what$xinfo\n";
         $repro_lastflight= $f->{Flight};
         $repro_firstflight ||= $f->{Flight};
         return 0;