Stopped test-run if all tests passed for interrupted build.
Base on https://chromium-swarm.appspot.com/task?id=46420ba12b52e810: 1. test started running on 3 simulators, but one of them, Clone 2 of iPad Air, did not start running tests and was stuck with error 'Test runner exited before starting test execution.' In Xcode10 for such a case entire run stopped, but Xcode11 runs tests on other 'good' Simulators. 2. tests finished but xcodebuild did not finish its execution since Clone 2 of iPad Air was irresponsible 3. in 3 mins test_runner killed xcodebuild 4. test_runner parses passed tests and start a new attempt using passed-tests filter 5. xcode ran 0 tests then and marked tests as succeeded but because 0 tests ran, test_runner assumed that TESTS_DID_NOT_START and marked results as failed. Fixed step 4 to stop execution in case all tests passed even for interrupted build. Bug: 987664 Change-Id: Idcd451d7feef518dc5613cb5f1bc42e8bbe84e7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717919 Commit-Queue: Maksym Onufriienko <monufriienko@chromium.org> Reviewed-by:Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#682502}
Showing
Please register or sign in to comment