aboutsummaryrefslogtreecommitdiffstats
path: root/yamlishwriter-php-v0.0.1/t/harness.t
diff options
context:
space:
mode:
Diffstat (limited to 'yamlishwriter-php-v0.0.1/t/harness.t')
-rw-r--r--yamlishwriter-php-v0.0.1/t/harness.t29
1 files changed, 0 insertions, 29 deletions
diff --git a/yamlishwriter-php-v0.0.1/t/harness.t b/yamlishwriter-php-v0.0.1/t/harness.t
deleted file mode 100644
index abc51f8..0000000
--- a/yamlishwriter-php-v0.0.1/t/harness.t
+++ /dev/null
@@ -1,29 +0,0 @@
-use strict;
-use warnings;
-
-my $php = $ENV{PHP} || 'php';
-
-my $TESTS = 't/*.php';
-
-my $planned = 0;
-
-for my $test ( glob( $TESTS ) ) {
- warn "# $test\n";
- my $offset = $planned;
- my @command = ( $php, $test );
- open my $th, '-|', @command or die "Can't run $test ($?)\n";
- while ( defined( my $line = <$th> ) ) {
- chomp $line;
- if ( $line =~ /^1..(\d+)/ ) {
- $planned += $1;
- }
- else {
- $line =~ s/^((?:not\s+)?ok\s+)(\d+)/$1 . ($2 + $offset)/e;
- print "$line\n";
- }
- }
- close $th or die "Can't run $test ($?)\n";
-}
-
-# Trailing plan
-print "1..$planned\n";