Closed
Bug 216572
Opened 22 years ago
Closed 21 years ago
002goodperl.t adds an extra test for every additional Throw*Error violation in the same file
Categories
(Bugzilla :: Testing Suite, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: justdave, Assigned: Wurblzap)
Details
Attachments
(1 file, 1 obsolete file)
|
470 bytes,
patch
|
kiko
:
review+
|
Details | Diff | Splinter Review |
# Looks like you planned 240 tests but ran 8 extra.
dubious
Test returned status 19 (wstat 4864, 0x1300)
DIED. FAILED tests 199-206, 220-222
Failed 11/240 tests, 95.42% okay
example:
# Failed test (t/002goodperl.t at line 113)
not ok 199 - post_bug.cgi has a Throw*Error call on line 181
# which doesn't use a tag --ERROR
# Failed test (t/002goodperl.t at line 113)
not ok 200 - post_bug.cgi has a Throw*Error call on line 612
# which doesn't use a tag --ERROR
# Failed test (t/002goodperl.t at line 113)
not ok 201 - post_bug.cgi has a Throw*Error call on line 619
# which doesn't use a tag --ERROR
# Failed test (t/002goodperl.t at line 113)
not ok 202 - process_bug.cgi has a Throw*Error call on line 1230
# which doesn't use a tag --ERROR
# Failed test (t/002goodperl.t at line 113)
not ok 203 - process_bug.cgi has a Throw*Error call on line 1243
# which doesn't use a tag --ERROR
# Failed test (t/002goodperl.t at line 113)
not ok 204 - process_bug.cgi has a Throw*Error call on line 1253
# which doesn't use a tag --ERROR
# Failed test (t/002goodperl.t at line 113)
not ok 205 - process_bug.cgi has a Throw*Error call on line 1257
# which doesn't use a tag --ERROR
# Failed test (t/002goodperl.t at line 113)
not ok 206 - process_bug.cgi has a Throw*Error call on line 1598
# which doesn't use a tag --ERROR
Note this is running the test on Zippy's code, not mainstream Bugzilla, so these
aren't errors we need to fix, just the test is broken because it reports a new
test number for each error instead of collecting all the errors from the same
file and reporting them as one test.
Comment 1•22 years ago
|
||
We really should use File::Find and do this right, but this should fix it until
we go even deeper in the directory structure (at which point we've gone insane
;)
Comment 2•22 years ago
|
||
Comment on attachment 130005 [details] [diff] [review]
Patch v1
Gaah, attached this to the wrong bug :)
Attachment #130005 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•21 years ago
|
||
One-liner.
| Assignee | ||
Updated•21 years ago
|
Attachment #157136 -
Flags: review?
Comment 4•21 years ago
|
||
Comment on attachment 157136 [details] [diff] [review]
Patch
Doh :-)
Attachment #157136 -
Flags: review? → review+
Updated•21 years ago
|
Assignee: zach → marcschum
Flags: approval?
| Reporter | ||
Updated•21 years ago
|
Flags: approval?
Flags: approval2.18+
Flags: approval+
Target Milestone: --- → Bugzilla 2.18
Comment 5•21 years ago
|
||
Checking in t/002goodperl.t;
/cvsroot/mozilla/webtools/bugzilla/t/002goodperl.t,v <-- 002goodperl.t
new revision: 1.14; previous revision: 1.13
done
Checking in t/002goodperl.t;
/cvsroot/mozilla/webtools/bugzilla/t/002goodperl.t,v <-- 002goodperl.t
new revision: 1.13.2.1; previous revision: 1.13
done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
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
•