Changeset 155479 in webkit
- Timestamp:
- Sep 10, 2013, 2:55:41 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py
r155467 r155479 134 134 OK.""") 135 135 136 def test_ fast_js_failure_new_output(self):136 def test_layout_failure_new_output(self): 137 137 self.assertResults(FAILURE, ["jscore-test", '469 failing js tests '], 1, """Results for Mozilla tests: 138 138 0 regressions found. … … 148 148 OK.""") 149 149 150 def test_ fast_js_crash_new_output(self):150 def test_layout_crash_new_output(self): 151 151 self.assertResults(FAILURE, ["jscore-test", '1 crashing js test '], 1, """Results for Mozilla tests: 152 152 0 regressions found. … … 162 162 OK.""") 163 163 164 def test_mozilla_and_ fast_js_failure_new_output(self):164 def test_mozilla_and_layout_failure_new_output(self): 165 165 self.assertResults(FAILURE, ["jscore-test", '1 failing Mozilla test ', '469 failing js tests '], 1, """Results for Mozilla tests: 166 166 1 regression found. -
trunk/Tools/ChangeLog
r155467 r155479 1 2013-09-10 Mark Lam <mark.lam@apple.com> 2 3 Replace remaining "fast js" names in scripts. 4 https://bugs.webkit.org/show_bug.cgi?id=120899. 5 6 Rubber stamped by Filip Pizlo. 7 8 * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: 9 (test_layout_failure_new_output): 10 (test_layout_crash_new_output): 11 (test_mozilla_and_layout_failure_new_output): 12 * Scripts/run-fast-jsc: Removed. 13 * Scripts/run-javascriptcore-tests: 14 * Scripts/run-layout-jsc: Copied from Tools/Scripts/run-fast-jsc. 15 1 16 2013-09-10 Zan Dobersek <zdobersek@igalia.com> 2 17 -
trunk/Tools/Scripts/run-javascriptcore-tests
r155467 r155479 73 73 my $runMozilla = 1; 74 74 75 # FIXME: run- fast-jsc tests doesn't work properly on Windows75 # FIXME: run-layout-jsc tests doesn't work properly on Windows 76 76 # https://bugs.webkit.org/show_bug.cgi?id=120765 77 my $run FastJS= !isAppleWinWebKit();77 my $runLayout = !isAppleWinWebKit(); 78 78 79 79 # FIXME: run-jsc-stress-tests should be ported to other platforms. … … 87 87 my $testapiDefault = $runTestAPI ? "will run" : "will not run"; 88 88 my $mozillaDefault = $runMozilla ? "will run" : "will not run"; 89 my $ fastJSDefault = $runFastJS? "will run" : "will not run";89 my $layoutJSDefault = $runLayout ? "will run" : "will not run"; 90 90 my $jscStressDefault = $runJSCStress ? "will run" : " will not run"; 91 91 my $usage = <<EOF; … … 98 98 --[no-]testapi Run (or don't run) testapi (default: $testapiDefault) 99 99 --[no-]mozilla Run (or don't run) the Mozilla tests (default: $mozillaDefault) 100 --[no-] fast-js Run (or don't run) the js tests (default: $fastJSDefault)100 --[no-]layout Run (or don't run) the LayoutTests js tests (default: $layoutJSDefault) 101 101 --[no-]jsc-stress Run (or don't run) the JSC stress tests (default: $jscStressDefault) 102 102 EOF … … 109 109 'testapi!' => \$runTestAPI, 110 110 'mozilla!' => \$runMozilla, 111 ' fast-js!' => \$runFastJS,111 'layout!' => \$runLayout, 112 112 'jsc-stress!' => \$runJSCStress, 113 113 'help' => \$showHelp … … 226 226 227 227 chdirWebKit(); 228 my $ fastJSResultsDir = $productDir . "/fast-jsc-results";229 230 if ($run FastJS) {228 my $layoutJSResultsDir = $productDir . "/layout-jsc-results"; 229 230 if ($runLayout) { 231 231 # Run the js tests. 232 my @ fastJSDriverCmd = ("/bin/sh", "Tools/Scripts/run-fast-jsc", "-j", jscPath($productDir), "-r", $fastJSResultsDir, "-t", "LayoutTests");233 print "Running: " . join(" ", @ fastJSDriverCmd) . "\n";234 my $result = system(@ fastJSDriverCmd);232 my @layoutJSDriverCmd = ("/bin/sh", "Tools/Scripts/run-layout-jsc", "-j", jscPath($productDir), "-r", $layoutJSResultsDir, "-t", "LayoutTests"); 233 print "Running: " . join(" ", @layoutJSDriverCmd) . "\n"; 234 my $result = system(@layoutJSDriverCmd); 235 235 exit exitStatus($result) if $result; 236 236 } … … 299 299 } 300 300 301 my @ fastJSFailList = readAllLines($fastJSResultsDir . "/failed");302 my @ fastJSCrashList = readAllLines($fastJSResultsDir . "/crashed");303 my $numJSFailures = @ fastJSFailList;304 my $numJSCrashes = @ fastJSCrashList;301 my @layoutJSFailList = readAllLines($layoutJSResultsDir . "/failed"); 302 my @layoutJSCrashList = readAllLines($layoutJSResultsDir . "/crashed"); 303 my $numJSFailures = @layoutJSFailList; 304 my $numJSCrashes = @layoutJSCrashList; 305 305 306 306 if ($numJSFailures) { 307 307 print "\n** The following js test failures have been introduced:\n"; 308 foreach my $testFailure (@ fastJSFailList) {308 foreach my $testFailure (@layoutJSFailList) { 309 309 print "\t$testFailure"; 310 310 } … … 312 312 if ($numJSCrashes) { 313 313 print "\n** The following js test crashes have been introduced:\n"; 314 foreach my $testCrash (@ fastJSCrashList) {314 foreach my $testCrash (@layoutJSCrashList) { 315 315 print "\t$testCrash"; 316 316 } … … 338 338 } 339 339 340 if ($run FastJS) {340 if ($runLayout) { 341 341 print "Results for js tests:\n"; 342 342 printThingsFound($numJSFailures, "failure", "failures", "found"); … … 355 355 } 356 356 357 exit(1) if ($runMozilla && $numNewMozillaFailures) || ($run FastJS&& ($numJSFailures || $numJSCrashes)) || ($runJSCStress && $numJSCStressFailures);357 exit(1) if ($runMozilla && $numNewMozillaFailures) || ($runLayout && ($numJSFailures || $numJSCrashes)) || ($runJSCStress && $numJSCStressFailures);
Note:
See TracChangeset
for help on using the changeset viewer.