Changeset 36607 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Sep 18, 2008, 12:43:59 AM (17 years ago)
Author:
Stephanie Lewis
Message:

2008-09-18 Stephanie Lewis <Stephanie Lewis>

Reviewed by Mark Rowe and Maciej Stachowiak.

add an option use arch to specify which architecture to run.

  • tests/mozilla/jsDriver.pl:

add a --64-bit option and specify which architecture to run on Mac.

  • Scripts/run-javascriptcore-tests:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r36605 r36607  
     12008-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
    192008-09-17  Oliver Hunt  <[email protected]>
    210
  • trunk/JavaScriptCore/tests/mozilla/jsDriver.pl

    r36033 r36607  
    6565my $opt_lxr_url = "./"; # "http://lxr.mozilla.org/mozilla/source/js/tests/";
    6666my $opt_exit_munge = ($os_type ne "MAC") ? 1 : 0;
     67my $opt_arch= "";
    6768
    6869# command line option definition
    69 my $options = "b=s bugurl>b c=s classpath>c e=s engine>e f=s file>f " .
     70my $options = "a=s arch>a b=s bugurl>b c=s classpath>c e=s engine>e f=s file>f " .
    7071"h help>h i j=s javapath>j k confail>k l=s list>l L=s neglist>L " .
    7172"o=s opt>o p=s testpath>p s=s shellpath>s t trace>t u=s lxrurl>u " .
     
    174175# since the last time we looked.)
    175176        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 ";
    177180           
    178181            $path = &xp_path($opt_suite_path . $suite . "/shell.js");
     
    375378    while (($option, $value) = nextOption()) {
    376379       
    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") {
    378386            &dd ("opt: setting bugurl to '$value'.");
    379387            $opt_bug_url = $value;
     
    477485    print STDERR
    478486    ("\nusage: $0 [<options>] \n" .
     487     "(-a|--arch) <arch>        run with a specific architecture on mac\n" .
    479488     "(-b|--bugurl)             Bugzilla URL.\n" .
    480489     "                          (default is $opt_bug_url)\n" .
     
    557566    } elsif ($opt_engine_type eq "squirrelfish") {
    558567        &dd ("getting squirrelfish engine command.");
    559         $retval = &get_squirrelfish_engine_command;
    560        
     568        $retval = &get_squirrelfish_engine_command;       
    561569    } else {
    562570        die ("Unknown engine type selected, '$opt_engine_type'.\n");
Note: See TracChangeset for help on using the changeset viewer.