X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy.pm;h=e6f2c52eb6ac82ead454618866b23b2cf770da89;hp=5cbd307ba36cea8ae303e80149674ceb669a8231;hb=26360761aba0b9b4043c8cc3f0dcdb073491ea13;hpb=dd20ee8778b01e4727f2fabfb9e4d5a4dcfb935d diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index 5cbd307..e6f2c52 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -1,4 +1,4 @@ -# $Id: IRSpy.pm,v 1.47 2006-11-02 13:16:49 mike Exp $ +# $Id: IRSpy.pm,v 1.48 2006-11-03 13:11:29 mike Exp $ package ZOOM::IRSpy; @@ -29,6 +29,7 @@ sub OK { 29 } # No problems, task is still progressing sub TASK_DONE { 18 } # Task is complete, next task should begin sub TEST_GOOD { 8 } # Whole test is complete, and succeeded sub TEST_BAD { 31 } # Whole test is complete, and failed +sub TEST_SKIPPED { 12 } # Test couldn't be run package ZOOM::IRSpy; @@ -447,6 +448,13 @@ sub check { $nskipped += $n; } } + + } elsif ($res == ZOOM::IRSpy::Status::TEST_SKIPPED) { + $conn->log("irspy_task", "test skipped during task $task"); + $conn->current_task(0); + $conn->next_task(0); + # I think that's all we need to do + } else { die "unknown callback return-value '$res'"; }