When skipping a test due to a rule, note this with the proper logging
[irspy-moved-to-github.git] / lib / ZOOM / IRSpy.pm
index de2c561..96ead57 100644 (file)
@@ -533,7 +533,8 @@ sub check {
                    $conn->option(current_test_address => $nextaddr);
                    my $tname = $node->name();
                    if ($this->should_skip_test($tname)) {
-                       warn "skipping test '$tname' due to rule";
+                       $conn->log("irspy_test",
+                           "skipping test '$nextaddr' = $tname due to rule");
                        goto NEXT_TEST;
                    }