Commit 95afe724 authored by jake%acutex.net's avatar jake%acutex.net

Bug 103664 - Tests should "use strict;" and not contain any tabs. We should…

Bug 103664 - Tests should "use strict;" and not contain any tabs. We should also use the TEST_VERBOSE environment variable instead of VERBOSE. Patch by David D. Kilzer <ddkilzer@theracingworld.com> Additional edits by myself to add the emacs mode line. Also, the change to runtests.sh was done by me.
parent be0a280b
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
# #
################# #################
#Bugzilla Test 4# #Bugzilla Test 5#
#####no_tabs##### #####no_tabs#####
BEGIN { use lib "t/"; } BEGIN { use lib "t/"; }
...@@ -29,8 +29,10 @@ BEGIN { use Support::Files; } ...@@ -29,8 +29,10 @@ BEGIN { use Support::Files; }
BEGIN { $tests = @Support::Files::testitems; } BEGIN { $tests = @Support::Files::testitems; }
BEGIN { use Test::More tests => $tests; } BEGIN { use Test::More tests => $tests; }
use strict;
my @testitems = @Support::Files::testitems; my @testitems = @Support::Files::testitems;
my $verbose = $::ENV{VERBOSE}; my $verbose = $::ENV{TEST_VERBOSE};
foreach my $file (@testitems) { foreach my $file (@testitems) {
open (FILE, "$file"); open (FILE, "$file");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment