Commit 96a266c6 authored by fpizlo@apple.com's avatar fpizlo@apple.com

Unreviewed, don't run fast/js tests in run-javascriptcore-tests on platforms that

can't support it because if non-bourne shells. This fixes part #2 of the Linux
bot breakage.

* Scripts/run-javascriptcore-tests:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 78105644
2013-09-05 Filip Pizlo <fpizlo@apple.com>
Unreviewed, don't run fast/js tests in run-javascriptcore-tests on platforms that
can't support it because if non-bourne shells. This fixes part #2 of the Linux
bot breakage.
* Scripts/run-javascriptcore-tests:
2013-09-05 Filip Pizlo <fpizlo@apple.com>
Unreviewed, don't rely on File::Slurp. This fixes part #1 of Linux bot breakage.
......
......@@ -189,13 +189,16 @@ while (<ACTUAL>) {
}
close ACTUAL;
# Run the fast/js tests.
chdirWebKit();
my $fastJSResultsDir = $productDir . "/fast-jsc-results";
my @fastJSDriverCmd = ("/bin/sh", "Tools/Scripts/run-fast-jsc", "-j", jscPath($productDir), "-r", $fastJSResultsDir, "-t", "LayoutTests");
print "Running: " . join(" ", @fastJSDriverCmd) . "\n";
$result = system(@fastJSDriverCmd);
exit exitStatus($result) if $result;
my $runFastJS = isAppleMacWebKit();
if ($runFastJS) {
# Run the fast/js tests.
my @fastJSDriverCmd = ("/bin/sh", "Tools/Scripts/run-fast-jsc", "-j", jscPath($productDir), "-r", $fastJSResultsDir, "-t", "LayoutTests");
print "Running: " . join(" ", @fastJSDriverCmd) . "\n";
$result = system(@fastJSDriverCmd);
exit exitStatus($result) if $result;
}
my $numNewMozillaFailures = keys %newMozillaFailures;
if ($numNewMozillaFailures) {
......@@ -262,11 +265,13 @@ print " OK.\n" if $numNewMozillaFailures == 0;
print "\n";
print "Results for fast/js tests:\n";
printThingsFound($numJSFailures, "failure", "failures", "found");
printThingsFound($numJSCrashes, "crash", "crashes", "found");
print " OK.\n" if $numJSFailures == 0 && $numJSCrashes == 0;
print "\n";
if ($runFastJS) {
print "Results for fast/js tests:\n";
printThingsFound($numJSFailures, "failure", "failures", "found");
printThingsFound($numJSCrashes, "crash", "crashes", "found");
print " OK.\n" if $numJSFailures == 0 && $numJSCrashes == 0;
print "\n";
}
exit(1) if $numNewMozillaFailures || $numJSFailures || $numJSCrashes;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment