Changeset 34180 in webkit for trunk/JavaScriptCore
- Timestamp:
- May 28, 2008, 1:13:53 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r34177 r34180 1 2008-05-28 Adam Roben <[email protected]> 2 3 Fix JavaScriptCore tests on OS X 4 5 We were quoting the path to testkjs too late, after it had already 6 been combined with spaces and other options. 7 8 * tests/mozilla/jsDriver.pl: 9 (top level): Move path quoting from here... 10 (sub get_kjs_engine_command): ...to here. 11 1 12 2008-05-28 Anders Carlsson <[email protected]> 2 13 -
trunk/JavaScriptCore/tests/mozilla/jsDriver.pl
r34174 r34180 174 174 # since the last time we looked.) 175 175 if ($last_suite ne $suite || $last_test_dir ne $test_dir) { 176 # FIXME: Quoting the path this way won't work with paths with 177 # quotes in them. A better fix would be to use the multi-parameter 178 # version of open(), but that doesn't work on ActiveState Perl. 179 $shell_command = "\"" . &xp_path($engine_command) . "\" -s "; 176 $shell_command = &xp_path($engine_command) . " -s "; 180 177 181 178 $path = &xp_path($opt_suite_path . $suite . "/shell.js"); … … 643 640 644 641 if ($opt_shell_path) { 645 $retval = $opt_shell_path; 642 # FIXME: Quoting the path this way won't work with paths with quotes in 643 # them. A better fix would be to use the multi-parameter version of 644 # open(), but that doesn't work on ActiveState Perl. 645 $retval = "\"" . $opt_shell_path . "\""; 646 646 } else { 647 647 die "Please specify a full path to the kjs testing engine";
Note:
See TracChangeset
for help on using the changeset viewer.