Closed Bug 495420 Opened 16 years ago Closed 16 years ago

Refactor test cases to check enough runs

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86_64
Linux
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bradh, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042708 Fedora/3.0.10-1.fc9 Firefox/3.0.10 Build Identifier: We have a lot of code in the input_end() functions that looks like: if (r.testsRun != 1) { print("Error: must be 1 tests run, instead ran " + r.testsRun); } else { r.list(); } It would be nice to factor that out. Reproducible: Always
Blocks: 484865
Also throws in a few newlines on the end of files that missed them.
Attachment #380403 - Flags: review?(tglek)
Attachment #380403 - Flags: review?(tglek) → review?(dmandelin)
Attachment #380403 - Flags: review?(dmandelin) → review+
Comment on attachment 380403 [details] [diff] [review] refactoring of duplicated code Good idea.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: