[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:52:39 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit e308dba4b2d78a0b964f51b6328f9b4155cbcfe6
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 31 16:38:37 2009 +0000

    2009-12-31  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Eric Seidel.
    
            [bzt] Implement build-and-test
            https://bugs.webkit.org/show_bug.cgi?id=33073
    
            Some of the early warning system bots want to use build-and-test so
            they can cover LayoutTests in addition to just compilation.
    
            * Scripts/modules/commands/download.py:
            * Scripts/modules/commands/download_unittest.py:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52681 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index e16ac74..37bc427 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -2,6 +2,19 @@
 
         Reviewed by Eric Seidel.
 
+        [bzt] Implement build-and-test
+        https://bugs.webkit.org/show_bug.cgi?id=33073
+
+        Some of the early warning system bots want to use build-and-test so
+        they can cover LayoutTests in addition to just compilation.
+
+        * Scripts/modules/commands/download.py:
+        * Scripts/modules/commands/download_unittest.py:
+
+2009-12-31  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Eric Seidel.
+
         Show mac-ews status on QueueStatusServer
         https://bugs.webkit.org/show_bug.cgi?id=33076
 
diff --git a/WebKitTools/Scripts/modules/commands/download.py b/WebKitTools/Scripts/modules/commands/download.py
index bcdf34d..7ea956c 100644
--- a/WebKitTools/Scripts/modules/commands/download.py
+++ b/WebKitTools/Scripts/modules/commands/download.py
@@ -68,6 +68,17 @@ class Build(AbstractSequencedCommmand):
     ]
 
 
+class BuildAndTest(AbstractSequencedCommmand):
+    name = "build-and-test"
+    help_text = "Update working copy, build, and run the tests"
+    steps = [
+        CleanWorkingDirectoryStep,
+        UpdateStep,
+        BuildStep,
+        RunTestsStep,
+    ]
+
+
 class LandDiff(AbstractSequencedCommmand):
     name = "land-diff"
     help_text = "Land the current working directory diff and updates the associated bug if any"
diff --git a/WebKitTools/Scripts/modules/commands/download_unittest.py b/WebKitTools/Scripts/modules/commands/download_unittest.py
index b247efc..c2b4f86 100644
--- a/WebKitTools/Scripts/modules/commands/download_unittest.py
+++ b/WebKitTools/Scripts/modules/commands/download_unittest.py
@@ -51,6 +51,10 @@ class DownloadCommandsTest(CommandsTest):
         expected_stderr = "Updating working directory\nBuilding WebKit\n"
         self.assert_execute_outputs(Build(), [], options=self._default_options(), expected_stderr=expected_stderr)
 
+    def test_build_and_test(self):
+        expected_stderr = "Updating working directory\nBuilding WebKit\n"
+        self.assert_execute_outputs(BuildAndTest(), [], options=self._default_options(), expected_stderr=expected_stderr)
+
     def test_apply_attachment(self):
         options = self._default_options()
         options.update = True

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list