summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-12-04 21:56:44 +0100
committerEmma Humphries <emceeaich@users.noreply.github.com>2017-12-04 21:56:44 +0100
commit3e07c354707f39dbc26cecbbc8cdf9c70879e70c (patch)
tree370f84d181396fe8ded47d2059249e71206c7935 /t
parent46bcb831b9e32f825fef459b52bc12ceb3d7a7b3 (diff)
downloadbugzilla-3e07c354707f39dbc26cecbbc8cdf9c70879e70c.tar.gz
bugzilla-3e07c354707f39dbc26cecbbc8cdf9c70879e70c.tar.xz
no bug - avoid running compile tests in CI (#284)
* skip tests in CI * fix
Diffstat (limited to 't')
-rw-r--r--t/001compile.t10
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');