CI: Don't use FindBin to set test library path

This commit is contained in:
Dan Church 2023-06-23 13:38:22 -05:00
parent 22a7b86113
commit 1582920286
Signed by: h3xx
GPG key ID: EA2BF379CD2CDBD0
9 changed files with 1 additions and 25 deletions

View file

@ -3,6 +3,6 @@ PROVE = prove -rv
TESTS_DIR = t
test:
$(PROVE) $(TESTS_DIR)
$(PROVE) -l -I$(TESTS_DIR) $(TESTS_DIR)
.PHONY: test

View file

@ -1,4 +1,3 @@
#!/usr/bin/perl
# vi: et sts=4 sw=4 ts=4
use strict;
use warnings;
@ -6,8 +5,6 @@ use warnings;
use Test::Simple
tests => 1;
use FindBin qw//;
use lib $FindBin::RealBin;
use TestFunctions;
my $test_dir = &mktempdir;

View file

@ -1,4 +1,3 @@
#!/usr/bin/perl
# vi: et sts=4 sw=4 ts=4
use strict;
use warnings;
@ -6,8 +5,6 @@ use warnings;
use Test::Simple
tests => 3;
use FindBin qw//;
use lib $FindBin::RealBin;
use TestFunctions;
my $tarball_dir = &prep_tar;

View file

@ -1,4 +1,3 @@
#!/usr/bin/perl
# vi: et sts=4 sw=4 ts=4
use strict;
use warnings;
@ -6,8 +5,6 @@ use warnings;
use Test::Simple
tests => 3;
use FindBin qw//;
use lib $FindBin::RealBin;
use TestFunctions;
my $tarball_dir = &prep_tar;

View file

@ -1,4 +1,3 @@
#!/usr/bin/perl
# vi: et sts=4 sw=4 ts=4
use strict;
use warnings;
@ -6,8 +5,6 @@ use warnings;
use Test::Simple
tests => 3;
use FindBin qw//;
use lib $FindBin::RealBin;
use TestFunctions;
my $tarball_dir = &prep_tar;

View file

@ -1,4 +1,3 @@
#!/usr/bin/perl
# vi: et sts=4 sw=4 ts=4
use strict;
use warnings;
@ -6,8 +5,6 @@ use warnings;
use Test::Simple
tests => 3;
use FindBin qw//;
use lib $FindBin::RealBin;
use TestFunctions;
my $tarball_dir = &prep_tar;

View file

@ -1,4 +1,3 @@
#!/usr/bin/perl
# vi: et sts=4 sw=4 ts=4
use strict;
use warnings;
@ -6,8 +5,6 @@ use warnings;
use Test::Simple
tests => 3;
use FindBin qw//;
use lib $FindBin::RealBin;
use TestFunctions;
my $tarball_dir = &prep_tar;

View file

@ -1,4 +1,3 @@
#!/usr/bin/perl
# vi: et sts=4 sw=4 ts=4
use strict;
use warnings;
@ -6,8 +5,6 @@ use warnings;
use Test::Simple
tests => 4;
use FindBin qw//;
use lib $FindBin::RealBin;
use TestFunctions;
my $tarball_dir = &prep_tar;

View file

@ -1,4 +1,3 @@
#!/usr/bin/perl
# vi: et sts=4 sw=4 ts=4
use strict;
use warnings;
@ -6,8 +5,6 @@ use warnings;
use Test::Simple
tests => 3;
use FindBin qw//;
use lib $FindBin::RealBin;
use TestFunctions;
my $tarball_dir = &prep_tar;