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
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10683
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-09-30 Eric Seidel <eseidel@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@apple.com>
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5144
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"},
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}})
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";
# 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();
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.
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") {
# 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>) {