aboutsummaryrefslogtreecommitdiffstats
path: root/test.pl
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2015-08-09 22:11:45 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2015-08-09 22:11:45 +0200
commit535e0ac2df5fc5dc7284027e99ac6231fd4b2ce1 (patch)
tree79bfb3bd1b4f25c59ac7827b495a4d4932317019 /test.pl
parentebfd54048a93419de865da53eaa4875d85d078cb (diff)
downloadcolorize-535e0ac2df5fc5dc7284027e99ac6231fd4b2ce1.tar.gz
colorize-535e0ac2df5fc5dc7284027e99ac6231fd4b2ce1.tar.bz2
Run test files from test directory
Diffstat (limited to 'test.pl')
-rwxr-xr-xtest.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/test.pl b/test.pl
index 959d83f..32b1b51 100755
--- a/test.pl
+++ b/test.pl
@@ -8,6 +8,7 @@ use constant false => 0;
use File::Temp qw(tempfile tempdir tmpnam);
use IPC::Open3 qw(open3);
use Symbol qw(gensym);
+use TAP::Harness;
use Test::More;
my $tests = 25;
@@ -30,6 +31,12 @@ my $write_to_tmpfile = sub
return $tmpfile;
};
+{
+ my @tests = glob('t/*.t');
+ my $harness = TAP::Harness->new;
+ $harness->runtests(@tests);
+}
+
plan tests => $tests;
SKIP: {