Title: [106851] trunk/Source/WebKit/gtk
Revision
106851
Author
[email protected]
Date
2012-02-06 14:26:29 -0800 (Mon, 06 Feb 2012)

Log Message

Unreviewed fix for the new API test that is failing -
WEBKIT_INSPECTOR_PATH needs to be set, since we do not install our
builds.

* tests/testwebinspector.c:
(main):

Modified Paths

Diff

Modified: trunk/Source/WebKit/gtk/ChangeLog (106850 => 106851)


--- trunk/Source/WebKit/gtk/ChangeLog	2012-02-06 22:17:44 UTC (rev 106850)
+++ trunk/Source/WebKit/gtk/ChangeLog	2012-02-06 22:26:29 UTC (rev 106851)
@@ -1,3 +1,12 @@
+2012-02-06  Gustavo Noronha Silva  <[email protected]>
+
+        Unreviewed fix for the new API test that is failing -
+        WEBKIT_INSPECTOR_PATH needs to be set, since we do not install our
+        builds.
+
+        * tests/testwebinspector.c:
+        (main):
+
 2012-02-05  Gustavo Noronha Silva  <[email protected]>
 
         [GTK] Insta-crash when closing browser with inspector window opened

Modified: trunk/Source/WebKit/gtk/tests/testwebinspector.c (106850 => 106851)


--- trunk/Source/WebKit/gtk/tests/testwebinspector.c	2012-02-06 22:17:44 UTC (rev 106850)
+++ trunk/Source/WebKit/gtk/tests/testwebinspector.c	2012-02-06 22:26:29 UTC (rev 106851)
@@ -154,6 +154,12 @@
 {
     gtk_test_init(&argc, &argv, NULL);
 
+    testutils_relative_chdir("Programs/resources/inspector/inspector.html", argv[0]);
+
+    char *currentDir = g_get_current_dir();
+    g_setenv("WEBKIT_INSPECTOR_PATH", currentDir, TRUE);
+    g_free(currentDir);
+
     g_test_bug_base("https://bugs.webkit.org/");
     g_test_add_func("/webkit/webinspector/destroy-inspected-web-view", test_webkit_web_inspector_destroy_inspected_web_view);
     g_test_add_func("/webkit/webinspector/close-and-inspect", test_webkit_web_inspector_close_and_inspect);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to