Changeset 17534 in webkit


Ignore:
Timestamp:
Nov 1, 2006 7:59:39 PM (17 years ago)
Author:
slewis
Message:

2006-11-01 Stephanie Lewis <Stephanie Lewis>

Reviewed by Kevin.


Fixed bug where additional arguments got fed to xcode and jsdriver.pl
Since testkjs is being built before the tests are run, we don't need
to build it with webkit.


Fixes bugs
http://bugs.webkit.org/show_bug.cgi?id=11462
http://bugs.webkit.org/show_bug.cgi?id=6168

  • Scripts/build-webkit:
  • Scripts/run-javascriptcore-tests:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r17527 r17534  
     12006-11-01  Stephanie Lewis  <slewis@apple.com>
     2
     3        Reviewed by Kevin.
     4       
     5        Fixed bug where additional arguments got fed to xcode and jsdriver.pl
     6        Since testkjs is being built before the tests are run, we don't need
     7        to build it with webkit.
     8       
     9        Fixes bugs
     10        http://bugs.webkit.org/show_bug.cgi?id=11462
     11        http://bugs.webkit.org/show_bug.cgi?id=6168
     12
     13        * Scripts/build-webkit:
     14        * Scripts/run-javascriptcore-tests:
     15
    1162006-11-01  Brady Eidson  <beidson@apple.com>
    217
  • trunk/WebKitTools/Scripts/build-webkit

    r16736 r17534  
    8989    if (isOSX()) {
    9090        if ($dir eq "JavaScriptCore") {
    91             $result = system "xcodebuild", "-project", "$dir.xcodeproj", "-target", "All", @options, @ARGV;
     91            $result = system "xcodebuild", "-project", "$dir.xcodeproj", @options, @ARGV;
    9292        } elsif ($dir eq "WebCore") {
    9393            $result = system "xcodebuild", "-project", "$dir.xcodeproj", @options, @additionalWebCoreOptions, @ARGV;
  • trunk/WebKitTools/Scripts/run-javascriptcore-tests

    r17277 r17534  
    4040$configuration = configuration();
    4141
     42my @jsArgs;
     43my @xcodeArgs;
     44
     45# pre-evaluate arguments.  jsDriver args have - preceding, xcode args do not.
     46foreach my $arg(@ARGV) {
     47    print $arg."\n";
     48    if( $arg =~ /^-/ ){
     49        push( @jsArgs, $arg );
     50    } else {
     51        push( @xcodeArgs, $arg );
     52       
     53    }
     54}
     55       
    4256# Find JavaScriptCore directory
    4357chdirWebKit();
     
    4862my $result;
    4963if (isOSX()) {
    50     $result = system "xcodebuild", "-project", "JavaScriptCore.xcodeproj", "-target", "testkjs", @options, @ARGV;
     64    $result = system "xcodebuild", "-project", "JavaScriptCore.xcodeproj", "-target", "testkjs", @options, @xcodeArgs;
    5165}elsif (isCygwin()) {
    5266    $result = buildVisualStudioProject( "JavaScriptCore" );
     
    7286$testkjsName = determineTestkjsName();
    7387
    74 $result = system "perl", "jsDriver.pl", "-e", "kjs", "-s", "$productDir/$testkjsName", "-f", "actual.html", @ARGV;
     88$result = system "perl", "jsDriver.pl", "-e", "kjs", "-s", "$productDir/$testkjsName", "-f", "actual.html", @jsArgs;
    7589
    7690exit $result if $result;
Note: See TracChangeset for help on using the changeset viewer.