From 5ac0fa098c1812d9b5c57e8844ec1f44ed1cde05 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 3 Dec 2012 19:02:50 +0100 Subject: Bug 817634: Tests in t/ should also check themselves where appropriate r=glob a=LpSolit --- t/001compile.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 't/001compile.t') diff --git a/t/001compile.t b/t/001compile.t index 186e2a8ee..af7793093 100644 --- a/t/001compile.t +++ b/t/001compile.t @@ -15,7 +15,8 @@ use 5.10.1; use lib qw(. lib t); use Config; use Support::Files; -use Test::More tests => scalar(@Support::Files::testitems); +use Test::More tests => scalar(@Support::Files::testitems) + + scalar(@Support::Files::test_files); BEGIN { use_ok('Bugzilla::Constants'); @@ -59,7 +60,7 @@ sub compile_file { ok(!$return_val, $file) or diag('--ERROR'); } -my @testitems = @Support::Files::testitems; +my @testitems = (@Support::Files::testitems, @Support::Files::test_files); my $file_features = map_files_to_features(); # Test the scripts by compiling them -- cgit v1.2.3-24-g4f1b