Changeset 222856 in webkit
- Timestamp:
- Oct 4, 2017, 10:34:45 AM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r222851 r222856 1 2017-10-04 Jonathan Bedard <jbedard@apple.com> 2 3 webkitpy.tool.steps.steps_unittest.StepsTest.test_runtests_api is flakey 4 https://bugs.webkit.org/show_bug.cgi?id=177751 5 <rdar://problem/34769470> 6 7 Reviewed by Daniel Bates. 8 9 Port._build_path() calls Tools/Scripts/webkit-build-directory and caches this 10 result. When capturing output from the MockExecutive, the first invocation of 11 Port._build_path() will log the running of Tools/Scripts/webkit-build-directory 12 but subsequent invocations will not. 13 14 * Scripts/webkitpy/tool/steps/steps_unittest.py: 15 (StepsTest): 16 (StepsTest.setUp): Cache the build path before running tests. 17 1 18 2017-10-04 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 19 -
trunk/Tools/Scripts/webkitpy/tool/steps/steps_unittest.py
r221926 r222856 39 39 40 40 class StepsTest(unittest.TestCase): 41 42 def setUp(self): 43 # Port._build_path() calls Tools/Scripts/webkit-build-directory and caches the result. When capturing output, 44 # this can cause the first invocation of Port._build_path() to have more output than subsequent invocations. 45 # This may cause test flakiness when test order changes. By explicitly calling Port._build_path() before running 46 # tests in this suite, we avoid such flakiness. 47 MockTool().port_factory.get(options=self._step_options())._build_path() 48 41 49 def _step_options(self): 42 50 options = MockOptions()
Note:
See TracChangeset
for help on using the changeset viewer.