Closed
Bug 310070
Opened 19 years ago
Closed 19 years ago
runtests.pl reports errors when the 'shutdownhtml' parameter is turned on
Categories
(Bugzilla :: Testing Suite, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: LpSolit, Assigned: Wurblzap)
Details
(Keywords: regression)
Attachments
(1 file)
|
939 bytes,
patch
|
LpSolit
:
review+
mkanat
:
review+
|
Details | Diff | Splinter Review |
An administrator may decide to shut down Bugzilla while hacking the code, and could also want to run runtests.pl before reactivating Bugzilla in order to make sure he didn't do errors. But runtests.pl whines that he should do another job (i.e. reports a full list of errors). :( This is annoying because the only way to run runtests.pl correctly is to reactivate Bugzilla before being sure everything is fine.
| Reporter | ||
Updated•19 years ago
|
Flags: blocking2.22?
| Assignee | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Comment 2•19 years ago
|
||
Comment on attachment 204538 [details] [diff] [review] Patch This patch fixes the problem, but I want a second review. This patch needs to be backported to 2.20.
Attachment #204538 -
Flags: review?(mkanat)
Attachment #204538 -
Flags: review?(LpSolit)
Attachment #204538 -
Flags: review+
| Reporter | ||
Comment 3•19 years ago
|
||
(In reply to comment #2) > This patch needs to be backported to 2.20. err... sorry, 2.20 is not affected.
Target Milestone: --- → Bugzilla 2.22
Comment 4•19 years ago
|
||
Comment on attachment 204538 [details] [diff] [review] Patch No... just put the script in SHUTDOWNHTML_EXEMPT.
Attachment #204538 -
Flags: review?(mkanat) → review-
Comment 5•19 years ago
|
||
Comment on attachment 204538 [details] [diff] [review] Patch OK, yes, that looks good. The comment is unclear, though -- make it more specific. Nit: You don't need to add a whole new line for $^C. You can just keep it on the same line as Param("shutdownhtml").
Attachment #204538 -
Flags: review- → review+
| Assignee | ||
Updated•19 years ago
|
Flags: approval?
| Assignee | ||
Comment 6•19 years ago
|
||
Ok, the comment will read on check-in like this: # Because this is code which is run live from perl "use" commands of other # scripts, we're skipping this part if we get here during a perl syntax check # -- runtests.pl compiles scripts without running them, so we need to make sure # that this check doesn't apply to 'perl -c' calls.
Updated•19 years ago
|
| Assignee | ||
Comment 7•19 years ago
|
||
Checking in Bugzilla.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla.pm,v <-- Bugzilla.pm new revision: 1.26; previous revision: 1.25 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•