diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2012-12-03 19:02:50 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2012-12-03 19:02:50 +0100 |
commit | 5ac0fa098c1812d9b5c57e8844ec1f44ed1cde05 (patch) | |
tree | febe727b833b60f60027f403eb13c1da4d18b1e5 /t/001compile.t | |
parent | 0d02249ab821358506048f922abba078770730fd (diff) | |
download | bugzilla-5ac0fa098c1812d9b5c57e8844ec1f44ed1cde05.tar.gz bugzilla-5ac0fa098c1812d9b5c57e8844ec1f44ed1cde05.tar.xz |
Bug 817634: Tests in t/ should also check themselves where appropriate
r=glob a=LpSolit
Diffstat (limited to 't/001compile.t')
-rw-r--r-- | t/001compile.t | 5 |
1 files changed, 3 insertions, 2 deletions
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 |