Changeset 89289 in webkit
- Timestamp:
- Jun 20, 2011 2:23:25 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r89270 r89289 1 2011-06-20 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 commit-queue/ews-bots should run run-bindings-tests for every patch 6 https://bugs.webkit.org/show_bug.cgi?id=63010 7 8 * Scripts/webkitpy/common/config/ports.py: 9 * Scripts/webkitpy/tool/commands/download_unittest.py: 10 * Scripts/webkitpy/tool/steps/runtests.py: 11 * Scripts/webkitpy/tool/steps/runtests_unittest.py: 12 * Scripts/webkitpy/tool/steps/steps_unittest.py: 13 1 14 2011-06-20 Chang Shu <cshu@webkit.org> 2 15 -
trunk/Tools/Scripts/webkitpy/common/config/ports.py
r87075 r89289 119 119 120 120 @classmethod 121 def run_bindings_tests_command(cls): 122 return cls.script_shell_command("run-bindings-tests") 123 124 @classmethod 121 125 def layout_tests_results_path(cls): 122 126 return "/tmp/layout-test-results/results.html" -
trunk/Tools/Scripts/webkitpy/tool/commands/download_unittest.py
r84549 r89289 90 90 91 91 def test_build_and_test(self): 92 expected_stderr = "Updating working directory\nBuilding WebKit\nRunning Python unit tests\nRunning Perl unit tests\nRunning JavaScriptCore tests\nRunning run-webkit-tests\n"92 expected_stderr = "Updating working directory\nBuilding WebKit\nRunning Python unit tests\nRunning Perl unit tests\nRunning Bindings tests\nRunning JavaScriptCore tests\nRunning run-webkit-tests\n" 93 93 self.assert_execute_outputs(BuildAndTest(), [], options=self._default_options(), expected_stderr=expected_stderr) 94 94 … … 108 108 109 109 def test_land_diff(self): 110 expected_stderr = "Building WebKit\nRunning Python unit tests\nRunning Perl unit tests\nRunning JavaScriptCore tests\nRunning run-webkit-tests\nCommitted r49824: <http://trac.webkit.org/changeset/49824>\nUpdating bug 42\n"110 expected_stderr = "Building WebKit\nRunning Python unit tests\nRunning Perl unit tests\nRunning Bindings tests\nRunning JavaScriptCore tests\nRunning run-webkit-tests\nCommitted r49824: <http://trac.webkit.org/changeset/49824>\nUpdating bug 42\n" 111 111 mock_tool = MockTool() 112 112 mock_tool.scm().create_patch = Mock(return_value="Patch1\nMockPatch\n") … … 118 118 119 119 def test_land_red_builders(self): 120 expected_stderr = '\nWARNING: Builders ["Builder2"] are red, please watch your commit carefully.\nSee http://dummy_buildbot_host/console?category=core\n\nBuilding WebKit\nRunning Python unit tests\nRunning Perl unit tests\nRunning JavaScriptCore tests\nRunning run-webkit-tests\nCommitted r49824: <http://trac.webkit.org/changeset/49824>\nUpdating bug 42\n'120 expected_stderr = '\nWARNING: Builders ["Builder2"] are red, please watch your commit carefully.\nSee http://dummy_buildbot_host/console?category=core\n\nBuilding WebKit\nRunning Python unit tests\nRunning Perl unit tests\nRunning Bindings tests\nRunning JavaScriptCore tests\nRunning run-webkit-tests\nCommitted r49824: <http://trac.webkit.org/changeset/49824>\nUpdating bug 42\n' 121 121 mock_tool = MockTool() 122 122 mock_tool.buildbot.light_tree_on_fire() … … 144 144 Running Python unit tests 145 145 Running Perl unit tests 146 Running Bindings tests 146 147 Running JavaScriptCore tests 147 148 Running run-webkit-tests … … 160 161 Running Python unit tests 161 162 Running Perl unit tests 163 Running Bindings tests 162 164 Running JavaScriptCore tests 163 165 Running run-webkit-tests … … 169 171 Running Python unit tests 170 172 Running Perl unit tests 173 Running Bindings tests 171 174 Running JavaScriptCore tests 172 175 Running run-webkit-tests -
trunk/Tools/Scripts/webkitpy/tool/steps/runtests.py
r85524 r89289 57 57 self._tool.executive.run_and_throw_if_fail(perl_unittests_command) 58 58 59 bindings_tests_command = self._tool.port().run_bindings_tests_command() 60 if bindings_tests_command: 61 log("Running Bindings tests") 62 self._tool.executive.run_and_throw_if_fail(bindings_tests_command) 63 59 64 javascriptcore_tests_command = self._tool.port().run_javascriptcore_tests_command() 60 65 if javascriptcore_tests_command: -
trunk/Tools/Scripts/webkitpy/tool/steps/runtests_unittest.py
r85548 r89289 39 39 tool._port.run_perl_unittests_command = lambda: None 40 40 step = RunTests(tool, MockOptions(test=True, non_interactive=True, quiet=False)) 41 expected_stderr = """Running JavaScriptCore tests 41 expected_stderr = """Running Bindings tests 42 Running JavaScriptCore tests 42 43 Running run-webkit-tests 43 44 """ -
trunk/Tools/Scripts/webkitpy/tool/steps/steps_unittest.py
r85524 r89289 80 80 Running Perl unit tests 81 81 MOCK run_and_throw_if_fail: ['Tools/Scripts/test-webkitperl'] 82 Running Bindings tests 83 MOCK run_and_throw_if_fail: ['Tools/Scripts/run-bindings-tests'] 82 84 Running JavaScriptCore tests 83 85 MOCK run_and_throw_if_fail: ['Tools/Scripts/run-javascriptcore-tests']
Note: See TracChangeset
for help on using the changeset viewer.