_RunGpuIntegrationTests leaks state from one unit tests to the other
_RunGpuIntegrationTests permanently sets sys.argv and gpu_project_config.CONFIG to test values for all tests. This is the state leak that is causing the test expectations conflict checker to miss the conflict in pixel_tests_expectations.txt. Since gpu_project_config.CONFIG is set to a test value, the start directories it contains are set to test values. Therefore the conflict checker cannot find the PixelIntegrationTest class. Bug: chromium:986538 Change-Id: I25e478fd95bbe42e63b11cdf7408e12ada345a9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1714147 Commit-Queue: Rakib Hasan <rmhasan@google.com> Reviewed-by:Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/master@{#680613}
Showing
Please register or sign in to comment