]>
The Tcpdump Group git mirrors - libpcap/blob - testprogs/TESTst.pm
1 require 5.8.4; # Solaris 10
3 use warnings FATAL
=> qw(uninitialized);
5 # TESTrun helper functions (single-threaded implementation).
14 print "INFO: This Perl does not support threads.\n";
16 die "ERROR: Impossible to run $njobs tester threads!" if $njobs > 1;
23 # Here ordering of the results is obviously the same as ordering of the tests.
25 my $test = shift @tests;
26 return undef unless defined $test;
27 my $result = $test->{func
} ($test);
28 $result->{label
} = $test->{label
};