Changeset 52681 in webkit


Ignore:
Timestamp:
Dec 31, 2009 8:38:37 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-31 Adam Barth <abarth@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:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r52680 r52681  
     12009-12-31  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [bzt] Implement build-and-test
     6        https://bugs.webkit.org/show_bug.cgi?id=33073
     7
     8        Some of the early warning system bots want to use build-and-test so
     9        they can cover LayoutTests in addition to just compilation.
     10
     11        * Scripts/modules/commands/download.py:
     12        * Scripts/modules/commands/download_unittest.py:
     13
    1142009-12-31  Adam Barth  <abarth@webkit.org>
    215
  • trunk/WebKitTools/Scripts/modules/commands/download.py

    r52667 r52681  
    6969
    7070
     71class BuildAndTest(AbstractSequencedCommmand):
     72    name = "build-and-test"
     73    help_text = "Update working copy, build, and run the tests"
     74    steps = [
     75        CleanWorkingDirectoryStep,
     76        UpdateStep,
     77        BuildStep,
     78        RunTestsStep,
     79    ]
     80
     81
    7182class LandDiff(AbstractSequencedCommmand):
    7283    name = "land-diff"
  • trunk/WebKitTools/Scripts/modules/commands/download_unittest.py

    r52131 r52681  
    5252        self.assert_execute_outputs(Build(), [], options=self._default_options(), expected_stderr=expected_stderr)
    5353
     54    def test_build_and_test(self):
     55        expected_stderr = "Updating working directory\nBuilding WebKit\n"
     56        self.assert_execute_outputs(BuildAndTest(), [], options=self._default_options(), expected_stderr=expected_stderr)
     57
    5458    def test_apply_attachment(self):
    5559        options = self._default_options()
Note: See TracChangeset for help on using the changeset viewer.