Closed
Bug 103664
Opened 24 years ago
Closed 24 years ago
Clean up tests to use 'use strict' and TEST_VERBOSE
Categories
(Bugzilla :: Testing Suite, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.16
People
(Reporter: ddkilzer, Assigned: ddkilzer)
References
Details
Attachments
(1 file, 1 obsolete file)
|
9.15 KB,
patch
|
jacob
:
review+
jacob
:
review+
|
Details | Diff | Splinter Review |
The soon-to-be-attached patch will do the following:
1. Change use 'VERBOSE' environment variable when running tests to use
'TEST_VERBOSE' instead. This is what ExtUtils::MakeMaker uses when
generating a Makefile from Makefile.PL. The runtests.sh script and
the test scripts should do the same.
2. Add 'use strict;' to all test scripts and clean up undeclared
variables.
3. Add $verbose variable to t/002goodperl.t in case it is needed later.
4. Remove "sillyness" from t/001compile.t for $warnings variable
(which really should have been %warnings).
5. Clean up package name of t/Support/Systemexec.pm from 'Systemexec'
to 'Support::Systemexec' and fix t/003safesys.t to use the proper
syntax for the module.
6. Fix regex in t/003safesys.t when testing for error messages from
improper exec() calls.
| Assignee | ||
Updated•24 years ago
|
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
Why was I able to assign the bug to zach@zachlipton.com when I was
logged in as ddkilzer@theracingworld.com? I own the bug, bug I
didn't think I could assign the bug to someone just as the bug
owner?
Reassigning to myself.
Assignee: zach → ddkilzer
Status: ASSIGNED → NEW
| Assignee | ||
Comment 3•24 years ago
|
||
| Assignee | ||
Comment 4•24 years ago
|
||
Attachment 53576 [details] [diff] (bugzilla-2.15-20011014-CVS-fix-tests.diff) does the
following in addition to 'patch v1':
o Fixes items 1 and 2 for t/005no_tabs.t.
o Fixes typo "#Bugzilla Test 4#" (should be "5") in t/005no_tabs.t.
o Changes spaces to tabs (a la Bug 104516) in:
t/001compile.t
t/002goodperl.t
t/003safesys.t
t/Support/Files.pm
t/Support/Templates.pm
Please note that 'patch v1' should be obsoleted, but I don't have
privileges to do that (shouldn't a bug owner be able to edit the
status of patches to the bugs s/he owns?).
Updated•24 years ago
|
Attachment #52529 -
Attachment is obsolete: true
Comment 5•24 years ago
|
||
Comment on attachment 53576 [details] [diff] [review]
patch v2
Looks good to me.
Attachment #53576 -
Flags: review+
Comment 6•24 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
Component: Bugzilla-General → Testing Suite
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•