From 15c132a094215fe919e9d45ae3e7fea25e0dac34 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 11 Mar 2019 17:49:13 +0000 Subject: [PATCH] Revert "test compilation of all scripts and modules passes" This reverts commit fdafbb735e3beb018ccc80a4aeb0bf477ff3dc5e. --- Build.PL | 1 - xt/00-compile.t | 30 ------------------------------ 2 files changed, 31 deletions(-) delete mode 100644 xt/00-compile.t diff --git a/Build.PL b/Build.PL index fe0e4bba..3d7fdeb6 100644 --- a/Build.PL +++ b/Build.PL @@ -96,7 +96,6 @@ Module::Build->new( test_requires => { 'Test::More' => '1.302083', 'Env::Path' => '0', - 'Test::Compile' => '0', 'Test::File::ShareDir::Dist' => '0', }, script_files => [ diff --git a/xt/00-compile.t b/xt/00-compile.t deleted file mode 100644 index 307058af..00000000 --- a/xt/00-compile.t +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; - -BEGIN { - use FindBin; - FindBin::again(); - - use Path::Class; - - # stuff useful locations into @INC and $PATH - unshift @INC, - dir($FindBin::RealBin)->parent->subdir('lib')->stringify, - dir($FindBin::RealBin, 'lib')->stringify; -} - -# for netdisco app config -use App::Netdisco; -use Test::Compile; - -my $test = Test::Compile->new(); - -my @plfiles = grep {$_ !~ m/(?:sshcollector|graph)/i} $test->all_pl_files(); -my @pmfiles = grep {$_ !~ m/(?:sshcollector|graph)/i} $test->all_pm_files(); - -$test->ok($test->pl_file_compiles($_), "$_ compiles") for @plfiles; -$test->ok($test->pm_file_compiles($_), "$_ compiles") for @pmfiles; - -$test->done_testing();