summaryrefslogtreecommitdiffstats
path: root/tools/purify/chrome_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/purify/chrome_tests.py')
-rw-r--r--tools/purify/chrome_tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/purify/chrome_tests.py b/tools/purify/chrome_tests.py
index 9678dc4..e349cb2 100644
--- a/tools/purify/chrome_tests.py
+++ b/tools/purify/chrome_tests.py
@@ -344,6 +344,10 @@ class ChromeTests:
multi=True)
def TestUI(self):
+ # If --gtest_filter is set, then we need to ignore the batch index.
+ if self._options.gtest_filter:
+ return self.TestUIAll()
+
# Similar to layout test, we run a slice of UI tests with each run.
# This is achieved by using --batch-count (total number of slices) and
# --batch-index (current slice index) command line switches of UI tests.