This repository was archived by the owner on Mar 7, 2019. It is now read-only.
File tree 3 files changed +0
-43
lines changed
3 files changed +0
-43
lines changed Original file line number Diff line number Diff line change @@ -3,23 +3,6 @@ use warnings;
3
3
use Config;
4
4
use ExtUtils::MakeMaker;
5
5
6
- eval {
7
- use File::Temp qw( tempfile ) ;
8
- use File::Spec;
9
- my ($fh , $filename ) = tempfile();
10
- close $fh ;
11
- unlink $filename ;
12
- };
13
-
14
- if (my $error = $@ )
15
- {
16
- print " unable to create a tempfile, which is required properly test and use Alien::Base\n " ;
17
- print " File::Spec->tmpdir returns @{[ File::Spec->tmpdir ]}\n " ;
18
- print " diagnostic: $error \n " ;
19
- print " There is likely something wrong with your environment\n " ;
20
- exit ;
21
- }
22
-
23
6
my %make_args = (
24
7
NAME => ' Alien::Base' ,
25
8
DISTNAME => ' Alien-Base' ,
Original file line number Diff line number Diff line change @@ -5,19 +5,6 @@ use File::Glob qw( bsd_glob );
5
5
use File::chdir ;
6
6
use File::Spec;
7
7
8
- eval {
9
- use File::Temp qw( tempfile ) ;
10
- use File::Spec;
11
- my ($fh , $filename ) = tempfile();
12
- close $fh ;
13
- unlink $filename ;
14
- };
15
-
16
- if (my $error = $@ )
17
- {
18
- bail_out " tempfile failed: $error " ;
19
- }
20
-
21
8
unshift @PKG_CONFIG_PATH , File::Spec-> rel2abs(File::Spec-> catdir( qw( corpus pkgconfig ) ));
22
9
23
10
subtest ' AB::MB sys install' => sub {
Original file line number Diff line number Diff line change @@ -4,19 +4,6 @@ use List::Util qw/shuffle/;
4
4
5
5
BEGIN { $ENV {ALIEN_FORCE } = 0; delete $ENV {ALIEN_INSTALL_TYPE } }
6
6
7
- eval {
8
- use File::Temp qw( tempfile ) ;
9
- use File::Spec;
10
- my ($fh , $filename ) = tempfile();
11
- close $fh ;
12
- unlink $filename ;
13
- };
14
-
15
- if (my $error = $@ )
16
- {
17
- bail_out " tempfile failed: $error " ;
18
- }
19
-
20
7
skip_all ' Test requires Alien::Base::ModuleBuild and Alien::Base::PkgConfig'
21
8
unless eval { require Alien::Base::ModuleBuild; require Alien::Base::PkgConfig; 1 };
22
9
You can’t perform that action at this time.
0 commit comments