git-notes: Run partial expensive test everywhere
[alt-git.git] / t / harness
blobf5c02f49b7c1a1b1ffa6d79c8b2a9ac702e338f3
1 #!/usr/bin/perl
2 use strict;
3 use warnings;
4 use Getopt::Long ();
5 use TAP::Harness::Archive;
7 Getopt::Long::Parser->new(
8 config => [ qw/ pass_through / ],
9 )->getoptions(
10 'jobs:1' => \(my $jobs = $ENV{TEST_JOBS}),
11 'archive=s' => \my $archive,
12 ) or die "$0: Couldn't getoptions()";
14 TAP::Harness::Archive->new({
15 jobs => $jobs,
16 archive => $archive,
17 ($ENV{GIT_TEST_OPTS}
18 ? (test_args => [ split /\s+/, $ENV{GIT_TEST_OPTS} ])
19 : ()),
20 extra_properties => {},
21 })->runtests(@ARGV);