summaryrefslogtreecommitdiffstats
path: root/t/3safesys.t
diff options
context:
space:
mode:
authorzach%zachlipton.com <>2001-09-17 03:35:15 +0200
committerzach%zachlipton.com <>2001-09-17 03:35:15 +0200
commit7e406183cef64a9c26733ecc9c3d07857eabca68 (patch)
tree8a684b35215006f265b9a690829151c13d8fd758 /t/3safesys.t
parente8d520f73274017b4ffd013bb1f23e7f78db6561 (diff)
downloadbugzilla-7e406183cef64a9c26733ecc9c3d07857eabca68.tar.gz
bugzilla-7e406183cef64a9c26733ecc9c3d07857eabca68.tar.xz
Fix to make the tests generate the list of files to test instead of having to update the list manually whenever a file is added
or removed. The main logic is in t/Support/Files.pm, changes to the test files are needed to allow it to function properly. NOT_PART_OF_BUILD. No review needed for tests at this time.
Diffstat (limited to 't/3safesys.t')
-rw-r--r--t/3safesys.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/3safesys.t b/t/3safesys.t
index ced6d00ed..d11455513 100644
--- a/t/3safesys.t
+++ b/t/3safesys.t
@@ -35,9 +35,10 @@
#Bugzilla Test 3#
###Safesystem####
-BEGIN { use Test::More tests => 51; }
BEGIN { use lib 't/'; }
BEGIN { use Support::Files; }
+BEGIN { $tests = @Support::Files::testitems; }
+BEGIN { use Test::More tests => $tests; }
@testitems = @Support::Files::testitems;
my $verbose = $::ENV{VERBOSE};