mirror of
https://codeberg.org/h3xx/simplify_static_dir
synced 2024-08-14 23:57:24 +00:00
CI: Don't use FindBin to set test library path
This commit is contained in:
parent
22a7b86113
commit
1582920286
9 changed files with 1 additions and 25 deletions
2
Makefile
2
Makefile
|
@ -3,6 +3,6 @@ PROVE = prove -rv
|
||||||
TESTS_DIR = t
|
TESTS_DIR = t
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(PROVE) $(TESTS_DIR)
|
$(PROVE) -l -I$(TESTS_DIR) $(TESTS_DIR)
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
# vi: et sts=4 sw=4 ts=4
|
# vi: et sts=4 sw=4 ts=4
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -6,8 +5,6 @@ use warnings;
|
||||||
use Test::Simple
|
use Test::Simple
|
||||||
tests => 1;
|
tests => 1;
|
||||||
|
|
||||||
use FindBin qw//;
|
|
||||||
use lib $FindBin::RealBin;
|
|
||||||
use TestFunctions;
|
use TestFunctions;
|
||||||
|
|
||||||
my $test_dir = &mktempdir;
|
my $test_dir = &mktempdir;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
# vi: et sts=4 sw=4 ts=4
|
# vi: et sts=4 sw=4 ts=4
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -6,8 +5,6 @@ use warnings;
|
||||||
use Test::Simple
|
use Test::Simple
|
||||||
tests => 3;
|
tests => 3;
|
||||||
|
|
||||||
use FindBin qw//;
|
|
||||||
use lib $FindBin::RealBin;
|
|
||||||
use TestFunctions;
|
use TestFunctions;
|
||||||
|
|
||||||
my $tarball_dir = &prep_tar;
|
my $tarball_dir = &prep_tar;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
# vi: et sts=4 sw=4 ts=4
|
# vi: et sts=4 sw=4 ts=4
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -6,8 +5,6 @@ use warnings;
|
||||||
use Test::Simple
|
use Test::Simple
|
||||||
tests => 3;
|
tests => 3;
|
||||||
|
|
||||||
use FindBin qw//;
|
|
||||||
use lib $FindBin::RealBin;
|
|
||||||
use TestFunctions;
|
use TestFunctions;
|
||||||
|
|
||||||
my $tarball_dir = &prep_tar;
|
my $tarball_dir = &prep_tar;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
# vi: et sts=4 sw=4 ts=4
|
# vi: et sts=4 sw=4 ts=4
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -6,8 +5,6 @@ use warnings;
|
||||||
use Test::Simple
|
use Test::Simple
|
||||||
tests => 3;
|
tests => 3;
|
||||||
|
|
||||||
use FindBin qw//;
|
|
||||||
use lib $FindBin::RealBin;
|
|
||||||
use TestFunctions;
|
use TestFunctions;
|
||||||
|
|
||||||
my $tarball_dir = &prep_tar;
|
my $tarball_dir = &prep_tar;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
# vi: et sts=4 sw=4 ts=4
|
# vi: et sts=4 sw=4 ts=4
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -6,8 +5,6 @@ use warnings;
|
||||||
use Test::Simple
|
use Test::Simple
|
||||||
tests => 3;
|
tests => 3;
|
||||||
|
|
||||||
use FindBin qw//;
|
|
||||||
use lib $FindBin::RealBin;
|
|
||||||
use TestFunctions;
|
use TestFunctions;
|
||||||
|
|
||||||
my $tarball_dir = &prep_tar;
|
my $tarball_dir = &prep_tar;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
# vi: et sts=4 sw=4 ts=4
|
# vi: et sts=4 sw=4 ts=4
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -6,8 +5,6 @@ use warnings;
|
||||||
use Test::Simple
|
use Test::Simple
|
||||||
tests => 3;
|
tests => 3;
|
||||||
|
|
||||||
use FindBin qw//;
|
|
||||||
use lib $FindBin::RealBin;
|
|
||||||
use TestFunctions;
|
use TestFunctions;
|
||||||
|
|
||||||
my $tarball_dir = &prep_tar;
|
my $tarball_dir = &prep_tar;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
# vi: et sts=4 sw=4 ts=4
|
# vi: et sts=4 sw=4 ts=4
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -6,8 +5,6 @@ use warnings;
|
||||||
use Test::Simple
|
use Test::Simple
|
||||||
tests => 4;
|
tests => 4;
|
||||||
|
|
||||||
use FindBin qw//;
|
|
||||||
use lib $FindBin::RealBin;
|
|
||||||
use TestFunctions;
|
use TestFunctions;
|
||||||
|
|
||||||
my $tarball_dir = &prep_tar;
|
my $tarball_dir = &prep_tar;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
# vi: et sts=4 sw=4 ts=4
|
# vi: et sts=4 sw=4 ts=4
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -6,8 +5,6 @@ use warnings;
|
||||||
use Test::Simple
|
use Test::Simple
|
||||||
tests => 3;
|
tests => 3;
|
||||||
|
|
||||||
use FindBin qw//;
|
|
||||||
use lib $FindBin::RealBin;
|
|
||||||
use TestFunctions;
|
use TestFunctions;
|
||||||
|
|
||||||
my $tarball_dir = &prep_tar;
|
my $tarball_dir = &prep_tar;
|
||||||
|
|
Loading…
Reference in a new issue