[webkit-changes] cvs commit: WebKitTools/Scripts check-dom-results prepare-ChangeLog run-webkit-tests update-webkit

Eric eseidel at opensource.apple.com
Fri Sep 30 14:44:43 PDT 2005


eseidel     05/09/30 14:44:42

  Modified:    .        ChangeLog checkout
               Scripts  check-dom-results prepare-ChangeLog
                        run-webkit-tests update-webkit
  Log:
  Bug #: none
  Submitted by: eseidel
  Reviewed by: xenon
          Updated all the scripts for the move:
          WebCore/layout-tests -> LayoutTests
  
          * Scripts/check-dom-results:
          * Scripts/prepare-ChangeLog:
          * Scripts/run-webkit-tests:
          * Scripts/update-webkit: added --no-tests
          * checkout: added --no-tests
  
  Revision  Changes    Path
  1.110     +13 -0     WebKitTools/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebKitTools/ChangeLog,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -r1.109 -r1.110
  --- ChangeLog	28 Sep 2005 20:55:03 -0000	1.109
  +++ ChangeLog	30 Sep 2005 21:44:41 -0000	1.110
  @@ -1,3 +1,16 @@
  +2005-09-30  Eric Seidel  <eseidel at apple.com>
  +
  +        Reviewed by xenon.
  +
  +        Updated all the scripts for the move:
  +        WebCore/layout-tests -> LayoutTests
  +
  +        * Scripts/check-dom-results:
  +        * Scripts/prepare-ChangeLog: 
  +        * Scripts/run-webkit-tests:
  +        * Scripts/update-webkit: added --no-tests
  +        * checkout: added --no-tests
  +
   2005-09-28  Darin Adler  <darin at apple.com>
   
           - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
  
  
  
  1.4       +5 -1      WebKitTools/checkout
  
  Index: checkout
  ===================================================================
  RCS file: /cvs/root/WebKitTools/checkout,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- checkout	23 Sep 2005 03:31:46 -0000	1.3
  +++ checkout	30 Sep 2005 21:44:41 -0000	1.4
  @@ -32,7 +32,9 @@
   use Getopt::Long;
   
   my $includeSVG = 0;
  -GetOptions('svg' => \$includeSVG);
  +my $includeTests = 1;
  +GetOptions('svg' => \$includeSVG,
  +           'tests!' => \$includeTests);
   
   # Check that we're in the right directory.
   if (! -d "WebKitTools") {
  @@ -53,12 +55,14 @@
   # Check out all the sources.
   print "CVS root is $root\n";
   print "Checking out WebKitTools (again), JavaScriptCore, WebCore, WebKitLibraries";
  +print ", LayoutTests" if $includeTests;
   if ($includeSVG) {
       print ", WebKit and SVGSupport\n";
   } else {
       print " and WebKit\n";
   }
   my $directories = "WebKitTools JavaScriptCore WebCore WebKitLibraries WebKit";
  +$directories .= " LayoutTests" if $includeTests;
   $directories .= " SVGSupport" if $includeSVG;
   open CVS, "cvs -d '$root' co -P $directories |" or die;
   while (<CVS>) {
  
  
  
  1.5       +1 -2      WebKitTools/Scripts/check-dom-results
  
  Index: check-dom-results
  ===================================================================
  RCS file: /cvs/root/WebKitTools/Scripts/check-dom-results,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- check-dom-results	26 Sep 2005 22:54:24 -0000	1.4
  +++ check-dom-results	30 Sep 2005 21:44:42 -0000	1.5
  @@ -39,8 +39,7 @@
   my $verbose = $ARGV[0] && $ARGV[0] eq "-v";
   
   my $workingDir = getcwd();
  -my $WebCoreDirectory = "$workingDir/WebCore";
  -my $testDirectory = "$WebCoreDirectory/layout-tests";
  +my $testDirectory = "$workingDir/LayoutTests";
   
   my @suites = ( {"name" => "DOM Level 1 Core   (html)", "directory" => "dom/html/level1/core"},
                  {"name" => "DOM Level 2 Core   (html)", "directory" => "dom/html/level2/core"},
  
  
  
  1.4       +4 -1      WebKitTools/Scripts/prepare-ChangeLog
  
  Index: prepare-ChangeLog
  ===================================================================
  RCS file: /cvs/root/WebKitTools/Scripts/prepare-ChangeLog,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- prepare-ChangeLog	16 Sep 2005 23:04:13 -0000	1.3
  +++ prepare-ChangeLog	30 Sep 2005 21:44:42 -0000	1.4
  @@ -252,7 +252,10 @@
       print CHANGE_LOG "$date  $name  <$email_address>\n\n";
       print CHANGE_LOG "        Reviewed by NOBODY (OOPS!).\n\n";
       if ($prefix =~ m/WebCore/ || `pwd` =~ m/WebCore/) {
  -        print CHANGE_LOG "        Test cases added: (NONE)\n\n";
  +        my $testsDir = "../LayoutTests";
  +        $testsDir = "$prefix/$testsDir" if length($prefix);
  +        my $haveNewTests = (system("find \"$testsDir/../LayoutTests\" -path \"*/CVS/Entries\" | xargs grep -q \"/0/dummy timestamp//\"") == 0);
  +        print CHANGE_LOG "        WARNING: NO TEST CASES ADDED\n\n" unless $haveNewTests;
       }
   
       foreach my $file (sort @{$files{$prefix}})
  
  
  
  1.30      +3 -4      WebKitTools/Scripts/run-webkit-tests
  
  Index: run-webkit-tests
  ===================================================================
  RCS file: /cvs/root/WebKitTools/Scripts/run-webkit-tests,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- run-webkit-tests	28 Sep 2005 20:55:03 -0000	1.29
  +++ run-webkit-tests	30 Sep 2005 21:44:42 -0000	1.30
  @@ -94,14 +94,13 @@
   checkFrameworks();
   checkWebCoreSVGSupport() if $testSVGs;
   
  -my $layoutTestsName = "layout-tests";
  +my $layoutTestsName = "LayoutTests";
   if ($testSVGs) {
  -    $layoutTestsName = "svg-tests";
  +    $layoutTestsName = "SVGSupport/layout-tests";
   }
   
   my $workingDir = getcwd();
  -my $WebCoreDirectory = "$workingDir/WebCore";
  -my $testDirectory = "$WebCoreDirectory/$layoutTestsName";
  +my $testDirectory = "$workingDir/$layoutTestsName";
   my $testResultsDirectory = "/tmp/layout-test-results";
   my $testResults = "$testResultsDirectory/results.html";
   
  
  
  
  1.9       +5 -2      WebKitTools/Scripts/update-webkit
  
  Index: update-webkit
  ===================================================================
  RCS file: /cvs/root/WebKitTools/Scripts/update-webkit,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- update-webkit	27 Aug 2005 16:32:40 -0000	1.8
  +++ update-webkit	30 Sep 2005 21:44:42 -0000	1.9
  @@ -36,8 +36,10 @@
   
   # Handle options
   my $quiet ='';
  -my $cvsoptions= '';
  -GetOptions('quiet|q' => \$quiet); 
  +my $cvsoptions = '';
  +my $includeTests = 1;
  +GetOptions('quiet|q' => \$quiet,
  +           'tests!' => \$includeTests); 
   $cvsoptions = '-q' if $quiet;
   
   chdirWebKit();
  @@ -49,6 +51,7 @@
   close ROOT;
   
   my @sources = ("WebKitTools", "JavaScriptCore", "WebCore", "WebKitLibraries", "WebKit");
  +push @sources, "LayoutTests" if $includeTests;
   push @sources, "SVGSupport" if -d "SVGSupport";
   
   # Check out all the sources.
  
  
  



More information about the webkit-changes mailing list