2 # Simple script that converts Perl test harness output to
4 # Copyright (C) 2008 Jelmer Vernooij <jelmer@samba.org>
5 # Published under the GNU GPL, v3 or later
14 if (/^not ok (\d+) - (.*)$/) {
16 print "failure: $2\n";
18 } elsif (/^ok (\d+) - (.*)$/) {
20 print "success: $2\n";
21 } elsif (/^ok (\d+)$/) {
23 print "success: $1\n";
24 } elsif (/^ok (\d+) # skip (.*)$/) {
26 print "skip: $1 [\n$2\n]\n";
27 } elsif (/^not ok (\d+)$/) {
29 print "failure: $1\n";