diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-09-27 22:25:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-27 22:25:49 +0200 |
commit | 3e13de0966e361ca4e70cfd2d781320f25d820d3 (patch) | |
tree | 9846f6a728d437ffb9829d530f12313d426f365c /t/critic.t | |
parent | 40c4401db5525617278deb8bfaf5481f08e4cf97 (diff) | |
download | bugzilla-3e13de0966e361ca4e70cfd2d781320f25d820d3.tar.gz bugzilla-3e13de0966e361ca4e70cfd2d781320f25d820d3.tar.xz |
Bug 1402878 - Add some more sanity-type tests, including perl critic
Diffstat (limited to 't/critic.t')
-rw-r--r-- | t/critic.t | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/t/critic.t b/t/critic.t new file mode 100644 index 000000000..6e37cc0df --- /dev/null +++ b/t/critic.t @@ -0,0 +1,17 @@ +#!/usr/bin/perl +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This Source Code Form is "Incompatible With Secondary Licenses", as +# defined by the Mozilla Public License, v. 2.0. +use 5.10.1; +use strict; +use warnings; +use lib qw(. lib local/lib/perl5); +use Test::More; + +my $ok = eval { require Test::Perl::Critic::Progressive }; +plan skip_all => 'T::P::C::Progressive required for this test' unless $ok; + +Test::Perl::Critic::Progressive::progressive_critic_ok();
\ No newline at end of file |