Commit 9f3af8f0 authored by jmalonzo@webkit.org's avatar jmalonzo@webkit.org

2009-04-27 Jan Michael Alonzo <jmalonzo@webkit.org>

        Reviewed by Gustavo Noronha.

        [GTK] Make layout tests / jsc tests usable without build-webkit
        https://bugs.webkit.org/show_bug.cgi?id=21784

        This requires WEBKITOUTPUTDIR to be set to the build directory.
        Set the location of the product dir to the location pointed to by
        WEBKITOUTPUTDIR.

        * Scripts/webkitdirs.pm:

git-svn-id: svn://svn.chromium.org/blink/trunk@42891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 812ee2e0
2009-04-27 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Gustavo Noronha.
[GTK] Make layout tests / jsc tests usable without build-webkit
https://bugs.webkit.org/show_bug.cgi?id=21784
This requires WEBKITOUTPUTDIR to be set to the build directory.
Set the location of the product dir to the location pointed to by
WEBKITOUTPUTDIR.
* Scripts/webkitdirs.pm:
2009-04-27 Gustavo Noronha Silva <gns@gnome.org> 2009-04-27 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Adam Roben. Reviewed by Adam Roben.
......
...@@ -227,9 +227,17 @@ sub determineConfigurationProductDir ...@@ -227,9 +227,17 @@ sub determineConfigurationProductDir
determineConfiguration(); determineConfiguration();
if (isAppleWinWebKit() && !isWx()) { if (isAppleWinWebKit() && !isWx()) {
$configurationProductDir = "$baseProductDir/bin"; $configurationProductDir = "$baseProductDir/bin";
} else {
# [Gtk] We don't have Release/Debug configurations in straight
# autotool builds (non build-webkit). In this case and if
# WEBKITOUTPUTDIR exist, use that as our configuration dir. This will
# allows us to run run-webkit-tests without using build-webkit.
if ($ENV{"WEBKITOUTPUTDIR"} && isGtk()) {
$configurationProductDir = "$baseProductDir";
} else { } else {
$configurationProductDir = "$baseProductDir/$configuration"; $configurationProductDir = "$baseProductDir/$configuration";
} }
}
} }
sub setConfigurationProductDir($) sub setConfigurationProductDir($)
......
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