diff options
-rw-r--r-- | t/001compile.t | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/t/001compile.t b/t/001compile.t index 30b83da1d..e81162056 100644 --- a/t/001compile.t +++ b/t/001compile.t @@ -17,10 +17,14 @@ use warnings; use lib qw(. lib local/lib/perl5 t); use Config; use Support::Files; -use Test::More tests => scalar(@Support::Files::testitems) - + scalar(@Support::Files::test_files); +use Test::More; +BEGIN { + if ($ENV{CI}) { + plan skip_all => 'Not running compile tests in CI.'; + exit; + } + plan tests => @Support::Files::testitems + @Support::Files::test_files; -BEGIN { use_ok('Bugzilla::Constants'); use_ok('Bugzilla::Install::Requirements'); use_ok('Bugzilla'); |