Changeset 36607 in webkit for trunk/JavaScriptCore
- Timestamp:
- Sep 18, 2008, 12:43:59 AM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r36605 r36607 1 2008-09-18 Stephanie Lewis <[email protected]> 2 3 Reviewed by Mark Rowe and Maciej Stachowiak. 4 5 add an option use arch to specify which architecture to run. 6 7 * tests/mozilla/jsDriver.pl: 8 1 9 2008-09-17 Oliver Hunt <[email protected]> 2 10 -
trunk/JavaScriptCore/tests/mozilla/jsDriver.pl
r36033 r36607 65 65 my $opt_lxr_url = "./"; # "http://lxr.mozilla.org/mozilla/source/js/tests/"; 66 66 my $opt_exit_munge = ($os_type ne "MAC") ? 1 : 0; 67 my $opt_arch= ""; 67 68 68 69 # command line option definition 69 my $options = " b=s bugurl>b c=s classpath>c e=s engine>e f=s file>f " .70 my $options = "a=s arch>a b=s bugurl>b c=s classpath>c e=s engine>e f=s file>f " . 70 71 "h help>h i j=s javapath>j k confail>k l=s list>l L=s neglist>L " . 71 72 "o=s opt>o p=s testpath>p s=s shellpath>s t trace>t u=s lxrurl>u " . … … 174 175 # since the last time we looked.) 175 176 if ($last_suite ne $suite || $last_test_dir ne $test_dir) { 176 $shell_command = &xp_path($engine_command) . " -s "; 177 $shell_command = $opt_arch . " "; 178 179 $shell_command .= &xp_path($engine_command) . " -s "; 177 180 178 181 $path = &xp_path($opt_suite_path . $suite . "/shell.js"); … … 375 378 while (($option, $value) = nextOption()) { 376 379 377 if ($option eq "b") { 380 if ($option eq "a") { 381 &dd ("opt: running with architecture $value."); 382 $value =~ s/^ //; 383 $opt_arch = "arch -$value"; 384 385 } elsif ($option eq "b") { 378 386 &dd ("opt: setting bugurl to '$value'."); 379 387 $opt_bug_url = $value; … … 477 485 print STDERR 478 486 ("\nusage: $0 [<options>] \n" . 487 "(-a|--arch) <arch> run with a specific architecture on mac\n" . 479 488 "(-b|--bugurl) Bugzilla URL.\n" . 480 489 " (default is $opt_bug_url)\n" . … … 557 566 } elsif ($opt_engine_type eq "squirrelfish") { 558 567 &dd ("getting squirrelfish engine command."); 559 $retval = &get_squirrelfish_engine_command; 560 568 $retval = &get_squirrelfish_engine_command; 561 569 } else { 562 570 die ("Unknown engine type selected, '$opt_engine_type'.\n");
Note:
See TracChangeset
for help on using the changeset viewer.