Closed Bug 335397 Opened 19 years ago Closed 19 years ago

Improve jsDriver.pl timeout handling

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

References

Details

Attachments

(1 file)

Bug 331478 introduced timeout handling in jsDriver.pl based on the code in the tinderbox utilities, but it is way too slow. The use of a non blocking waitpid with a sleep 1 in the loop makes the full test suite take many hours.
Attached patch patch v1Splinter Review
This appears to be working fine in windows/cygwin, mac and linux.
Attachment #219770 - Flags: review?(mrbkap)
Comment on attachment 219770 [details] [diff] [review] patch v1 Looks good to me.
Attachment #219770 - Flags: review?(mrbkap) → review+
Checking in jsDriver.pl; /cvsroot/mozilla/js/tests/jsDriver.pl,v <-- jsDriver.pl new revision: 1.63; previous revision: 1.62 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: