diff options
author | zach%zachlipton.com <> | 2001-09-17 03:35:15 +0200 |
---|---|---|
committer | zach%zachlipton.com <> | 2001-09-17 03:35:15 +0200 |
commit | 7e406183cef64a9c26733ecc9c3d07857eabca68 (patch) | |
tree | 8a684b35215006f265b9a690829151c13d8fd758 /t/3safesys.t | |
parent | e8d520f73274017b4ffd013bb1f23e7f78db6561 (diff) | |
download | bugzilla-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.t | 3 |
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}; |