[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 00:58:29 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit cb85756562cbba878864bc4c85130b0aa1c8cea4
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jan 8 12:59:05 2010 +0000

    2010-01-08  Eric Seidel  <eric at webkit.org>
    
            Reviewed by Simon Hausmann.
    
            commit-queue should run run-javascriptcore-tests
            https://bugs.webkit.org/show_bug.cgi?id=33376
    
            I also made it run the python and perl unit tests.
    
            * Scripts/webkitpy/steps/runtests.py:
            * Scripts/webkitpy/webkitport.py:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52989 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index ed22121..1bab876 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,15 @@
+2010-01-08  Eric Seidel  <eric at webkit.org>
+
+        Reviewed by Simon Hausmann.
+
+        commit-queue should run run-javascriptcore-tests
+        https://bugs.webkit.org/show_bug.cgi?id=33376
+
+        I also made it run the python and perl unit tests.
+
+        * Scripts/webkitpy/steps/runtests.py:
+        * Scripts/webkitpy/webkitport.py:
+
 2010-01-07  Andras Becsi  <abecsi at inf.u-szeged.hu>
 
         Reviewed by Darin Adler.
diff --git a/WebKitTools/Scripts/webkitpy/steps/runtests.py b/WebKitTools/Scripts/webkitpy/steps/runtests.py
index da0a691..4c16793 100644
--- a/WebKitTools/Scripts/webkitpy/steps/runtests.py
+++ b/WebKitTools/Scripts/webkitpy/steps/runtests.py
@@ -45,6 +45,12 @@ class RunTests(AbstractStep):
             return
         if not self._options.test:
             return
+
+        # Run the scripting unit tests first because they're quickest.
+        self._tool.executive.run_and_throw_if_fail(self.port().run_python_unittests_command())
+        self._tool.executive.run_and_throw_if_fail(self.port().run_perl_unittests_command())
+        self._tool.executive.run_and_throw_if_fail(self.port().run_javascriptcore_tests_command())
+
         args = self.port().run_webkit_tests_command()
         if self._options.non_interactive:
             args.append("--no-launch-safari")
@@ -52,3 +58,4 @@ class RunTests(AbstractStep):
         if self._options.quiet:
             args.append("--quiet")
         self._tool.executive.run_and_throw_if_fail(args)
+
diff --git a/WebKitTools/Scripts/webkitpy/webkitport.py b/WebKitTools/Scripts/webkitpy/webkitport.py
index 26d9d54..b468c9d 100644
--- a/WebKitTools/Scripts/webkitpy/webkitport.py
+++ b/WebKitTools/Scripts/webkitpy/webkitport.py
@@ -71,9 +71,21 @@ class WebKitPort(object):
         return command
 
     @classmethod
+    def run_javascriptcore_tests_command(cls):
+        return [cls.script_path("run-javascriptcore-tests")]
+
+    @classmethod
     def run_webkit_tests_command(cls):
         return [cls.script_path("run-webkit-tests")]
 
+    @classmethod
+    def run_python_unittests_command(cls):
+        return [cls.script_path("test-webkitpy")]
+
+    @classmethod
+    def run_perl_unittests_command(cls):
+        return [cls.script_path("test-webkitperl")]
+
 
 class MacPort(WebKitPort):
     @classmethod

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list