Fix a small syntax error in the GTK+ API test runner.
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2012 18:34:22 +0000 (18:34 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2012 18:34:22 +0000 (18:34 +0000)
Reviewed by Gustavo Noronha Silva.

* gtk/run-api-tests:
(TestRunner._setup_testing_environment): When reporting the error use
the correct Python format string syntax.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@118009 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/gtk/run-api-tests

index eeffd41..0c38c36 100644 (file)
@@ -1,3 +1,13 @@
+2012-05-22  Martin Robinson  <mrobinson@igalia.com>
+
+        Fix a small syntax error in the GTK+ API test runner.
+
+        Reviewed by Gustavo Noronha Silva.
+
+        * gtk/run-api-tests:
+        (TestRunner._setup_testing_environment): When reporting the error use
+        the correct Python format string syntax.
+
 2012-05-22  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
 
         [GTK][DRT] Wrong cache model is taken in LayoutTestController's setCacheModel()
index 3ab38a4..62957fa 100755 (executable)
@@ -171,7 +171,7 @@ class TestRunner:
             self._xvfb = subprocess.Popen(["Xvfb", self._options.display, "-screen", "0", "800x600x24", "-nolisten", "tcp"],
                                           stdout=subprocess.PIPE, stderr=subprocess.PIPE)
         except Exception as e:
-            sys.stderr.write("Failed to run Xvfb: %s\n", e)
+            sys.stderr.write("Failed to run Xvfb: %s\n" % e)
             sys.stderr.flush()
             return False