[Win] run-jsc-stress-tests has a great number of failures (2026/7606) on Windows

https://bugs.webkit.org/show_bug.cgi?id=125111

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-12-03
Reviewed by Filip Pizlo.

Almost all errors seem to be caused by differences in line ending when diffing test output with expected output.

* Scripts/run-javascriptcore-tests: Enable api test and stress test for WinCairo.
* Scripts/run-jsc-stress-tests: Ignore carriage return when diffing test output with expected output.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8248130a
2013-12-03 peavo@outlook.com <peavo@outlook.com>
[Win] run-jsc-stress-tests has a great number of failures (2026/7606) on Windows
https://bugs.webkit.org/show_bug.cgi?id=125111
Reviewed by Filip Pizlo.
Almost all errors seem to be caused by differences in line ending when diffing test output with expected output.
* Scripts/run-javascriptcore-tests: Enable api test and stress test for WinCairo.
* Scripts/run-jsc-stress-tests: Ignore carriage return when diffing test output with expected output.
2013-12-03 Ryosuke Niwa <rniwa@webkit.org>
Add a script to automatically configure a git clone
......
......@@ -69,13 +69,13 @@ my $extraTests;
my $buildJSC = 1;
my $runTestAPI = isAppleMacWebKit() || isAppleWinWebKit();
my $runTestAPI = isAppleMacWebKit() || isAppleWinWebKit() || isWinCairo();
my $runMozilla = 0;
# FIXME: run-jsc-stress-tests should be ported to other platforms.
# https://bugs.webkit.org/show_bug.cgi?id=120809
my $runJSCStress = !isAppleWinWebKit() && !isWinCairo();
my $runJSCStress = !isAppleWinWebKit();
my $enableFTL = 0;
......
......@@ -275,7 +275,7 @@ def diffErrorHandler(expectedFilename)
outp.puts " " + plan.failCommand
outp.puts "elif test -e ../#{Shellwords.shellescape(expectedFilename)}"
outp.puts "then"
outp.puts " diff -u ../#{Shellwords.shellescape(expectedFilename)} #{outputFilename} > #{diffFilename}"
outp.puts " diff --strip-trailing-cr -u ../#{Shellwords.shellescape(expectedFilename)} #{outputFilename} > #{diffFilename}"
outp.puts " if [ $? -eq 0 ]"
outp.puts " then"
outp.puts " " + plan.successCommand
......
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