| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package TAP::Parser::Scheduler::Spinner; |
|
2
|
|
|
|
|
|
|
|
|
3
|
16
|
|
|
16
|
|
63
|
use strict; |
|
|
16
|
|
|
|
|
24
|
|
|
|
16
|
|
|
|
|
393
|
|
|
4
|
16
|
|
|
16
|
|
60
|
use warnings; |
|
|
16
|
|
|
|
|
23
|
|
|
|
16
|
|
|
|
|
338
|
|
|
5
|
16
|
|
|
16
|
|
57
|
use Carp; |
|
|
16
|
|
|
|
|
23
|
|
|
|
16
|
|
|
|
|
1480
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
TAP::Parser::Scheduler::Spinner - A no-op job. |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 VERSION |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Version 3.38 |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '3.38'; |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
use TAP::Parser::Scheduler::Spinner; |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
A no-op job. Returned by C as an instruction to |
|
26
|
|
|
|
|
|
|
the harness to spin (keep executing tests) while the scheduler can't |
|
27
|
|
|
|
|
|
|
return a real job. |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 METHODS |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head2 Class Methods |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head3 C |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
my $job = TAP::Parser::Scheduler::Spinner->new; |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Ignores any arguments and returns a new C object. |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
|
40
|
|
|
|
|
|
|
|
|
41
|
61
|
|
|
61
|
1
|
101
|
sub new { bless {}, shift } |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 Instance Methods |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head3 C |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Returns true indicating that is a 'spinner' job. Spinners are returned |
|
48
|
|
|
|
|
|
|
when the scheduler still has pending jobs but can't (because of locking) |
|
49
|
|
|
|
|
|
|
return one right now. |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=cut |
|
52
|
|
|
|
|
|
|
|
|
53
|
111
|
|
|
111
|
1
|
262
|
sub is_spinner {1} |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
L, L |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
1; |