[benchmarking] fix the use of all() when checking skipped tests
When the test is terminated for some reason, the test result list is empty. The current usage of all() to check the empty list will return true, and thus incorrectly interpretted as 'all tests are skipped'. This CL added a check to the list itself before calling all(). Bug: chromium:1136140 Change-Id: I308ee8cd21a611b6e7f25c0996cdf3528d7ebe1f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2458886 Auto-Submit: Wenbin Zhang <wenbinzhang@google.com> Reviewed-by:John Chen <johnchen@chromium.org> Commit-Queue: John Chen <johnchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#814901}
Showing
Please register or sign in to comment