Closed
Bug 301346
Opened 20 years ago
Closed 20 years ago
change jsDriver.pl to use system instead of open for executing js shell
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bc, Assigned: bc)
Details
Attachments
(1 file)
|
756 bytes,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
I have been having problems running jsDriver on WinXPSP2 for a couple of weeks.
It may be a problem with unix/dos line endings in perl/cygwin and msvc file
output. Changing the open(OUTPUT, "foo args |"); @output = <OUTPUT>; close
OUTPUT; to use system and a temp file.
patch coming up
| Assignee | ||
Comment 1•20 years ago
|
||
Attachment #189811 -
Flags: review?(mrbkap)
Comment 2•20 years ago
|
||
Comment on attachment 189811 [details] [diff] [review]
patch
Ain't it fun working around bugs in Perl? ;-)
r=me with the tabs you've introduced changed into spaces.
Attachment #189811 -
Flags: review?(mrbkap) → review+
| Assignee | ||
Comment 3•20 years ago
|
||
Checking in jsDriver.pl;
/cvsroot/mozilla/js/tests/jsDriver.pl,v <-- jsDriver.pl
new revision: 1.57; previous revision: 1.56
thx
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•20 years ago
|
||
I checked in a minor change
- system "$command $redirect_command > js.out";
+ system "$command > js.out $redirect_command";
to fix the stderr to stdout duplication.
Checking in jsDriver.pl;
/cvsroot/mozilla/js/tests/jsDriver.pl,v <-- jsDriver.pl
new revision: 1.58; previous revision: 1.57
| Assignee | ||
Updated•20 years ago
|
Flags: testcase-
You need to log in
before you can comment on or make changes to this bug.
Description
•