Title: [97623] trunk/Tools
Revision
97623
Author
[email protected]
Date
2011-10-17 08:28:56 -0700 (Mon, 17 Oct 2011)

Log Message

[Qt][WK2][meta] Fix failing API tests
https://bugs.webkit.org/show_bug.cgi?id=70236

Patch by Alexis Menard <[email protected]> on 2011-10-17
Reviewed by Csaba Osztrogonác.

In order to run WebKit2 API tests we need the WebProcess to be in
the path so let's add the bin directory when running the API tests of Qt.

* Scripts/run-qtwebkit-tests:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (97622 => 97623)


--- trunk/Tools/ChangeLog	2011-10-17 15:26:55 UTC (rev 97622)
+++ trunk/Tools/ChangeLog	2011-10-17 15:28:56 UTC (rev 97623)
@@ -1,3 +1,15 @@
+2011-10-17  Alexis Menard  <[email protected]>
+
+        [Qt][WK2][meta] Fix failing API tests
+        https://bugs.webkit.org/show_bug.cgi?id=70236
+
+        Reviewed by Csaba Osztrogonác.
+
+        In order to run WebKit2 API tests we need the WebProcess to be in
+        the path so let's add the bin directory when running the API tests of Qt.
+
+        * Scripts/run-qtwebkit-tests:
+
 2011-10-17  Kristóf Kosztyó  <[email protected]>
 
         [Qt][WK2] Build dependency problems

Modified: trunk/Tools/Scripts/run-qtwebkit-tests (97622 => 97623)


--- trunk/Tools/Scripts/run-qtwebkit-tests	2011-10-17 15:26:55 UTC (rev 97622)
+++ trunk/Tools/Scripts/run-qtwebkit-tests	2011-10-17 15:28:56 UTC (rev 97623)
@@ -212,6 +212,9 @@
         qml_import_path = self._options.path + "../../../imports"
         qml_import_path += ":" + self._options.path + "../../../../../imports"
         os.putenv("QML_IMPORT_PATH", qml_import_path)
+        path = os.getenv("PATH")
+        path += ":" + self._options.path + "../../../../../bin"
+        os.putenv("PATH", path)
         self.debug("Searching executables...")
         tests_executables = self.find_tests_paths(self._options.path)
         self.debug("Found: %s", len(tests_executables))
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to