[tools] testbot/TestWTBS: Don't report failed test unit matches twice.
If a module:unit entry did not match, it's certainly not going to match as a module name. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> --- This issue was found thanks to the testwtbsuite test suite. --- testbot/tests/TestWTBS | 1 + 1 file changed, 1 insertion(+) diff --git a/testbot/tests/TestWTBS b/testbot/tests/TestWTBS index e3b0a3ce6..2a6b66e6d 100755 --- a/testbot/tests/TestWTBS +++ b/testbot/tests/TestWTBS @@ -1209,6 +1209,7 @@ sub CheckJobTree($;$) } fail("Check that $MissionType VMs ran $TestGrep for job $JobId") or diag("TestUnits=", join(" ", sort keys %{$TestUnits->{$MissionType}})); + next; } my $Matched; foreach my $TestUnit (keys %{$TestUnits->{$MissionType}}) -- 2.20.1
participants (1)
-
Francois Gouget