File: hook.pl

package info (click to toggle)
libtest-harness-perl 3.52-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,764 kB
  • sloc: perl: 18,954; sh: 18; makefile: 7
file content (18 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl

use strict;
use warnings;
use lib qw( lib ../../lib );
use Harness::Hook;
use TAP::Harness;
use File::Spec;

$| = 1;

my $harness = TAP::Harness->new;

# Install the hook
Harness::Hook->new($harness);

$harness->runtests(
    File::Spec->catfile( split( /\//, '../../t/000-load.t' ) ) );