Commit f02b8ba7 authored by vestbo@webkit.org's avatar vestbo@webkit.org

Notify user that run-webkit-tests has to be run under Cygwin

Reviewed by Simon Hausmann.

The script will bail out if run under Windows shell or Msys.

* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:

git-svn-id: svn://svn.chromium.org/blink/trunk@54488 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent dbc7551b
......@@ -189,6 +189,17 @@
* QtLauncher/webview.h:
(WebViewGraphicsBased::setItemCacheMode):
2010-02-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
Reviewed by Simon Hausmann.
Notify user that run-webkit-tests has to be run under Cygwin
The script will bail out if run under Windows shell or Msys.
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2010-02-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
Reviewed by Simon Hausmann.
......
......@@ -158,6 +158,11 @@ my $shouldWaitForHTTPD = 0;
my @leaksFilenames;
if (isWindows() || isMsys()) {
print "This script has to be run under Cygwin to function correctly.\n";
exit 1;
}
# Default to --no-http for wx for now.
$testHTTP = 0 if (isWx());
......
......@@ -954,6 +954,11 @@ sub isWindows()
return ($^O eq "MSWin32") || 0;
}
sub isMsys()
{
return ($^O eq "msys") || 0;
}
sub isLinux()
{
return ($^O eq "linux") || 0;
......
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