Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Unified Diff: ios/build/bots/scripts/xctest_utils.py

Issue 2805133005: Support running eg tests with xctestrun file on devices. (Closed)
Patch Set: test-filter Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/build/bots/scripts/test_runner.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/build/bots/scripts/xctest_utils.py
diff --git a/ios/build/bots/scripts/xctest_utils.py b/ios/build/bots/scripts/xctest_utils.py
index 1d9d35ffe653620f100613c3a57b327bebf8a729..578fa6924b833d0fc12b4f60d423173c0597920a 100644
--- a/ios/build/bots/scripts/xctest_utils.py
+++ b/ios/build/bots/scripts/xctest_utils.py
@@ -212,7 +212,7 @@ class XCTestLogParser(object):
if self._test_status[self._current_test][0] == 'started':
self._test_status[self._current_test] = (
'timeout', self._failure_description)
- test_name = '%s.%s' % (results.group(1), results.group(2))
+ test_name = '%s/%s' % (results.group(1), results.group(2))
self._test_status[test_name] = ('started', ['Did not complete.'])
self._current_test = test_name
if self.retrying_failed:
@@ -225,7 +225,7 @@ class XCTestLogParser(object):
# Is it a test success line?
results = self._test_ok.match(line)
if results:
- test_name = '%s.%s' % (results.group(1), results.group(2))
+ test_name = '%s/%s' % (results.group(1), results.group(2))
status = self._StatusOfTest(test_name)
if status != 'started':
self._RecordError(line, 'success while in status %s' % status)
@@ -240,7 +240,7 @@ class XCTestLogParser(object):
# Is it a test failure line?
results = self._test_fail.match(line)
if results:
- test_name = '%s.%s' % (results.group(1), results.group(2))
+ test_name = '%s/%s' % (results.group(1), results.group(2))
status = self._StatusOfTest(test_name)
if status not in ('started', 'failed', 'timeout'):
self._RecordError(line, 'failure while in status %s' % status)
« no previous file with comments | « ios/build/bots/scripts/test_runner.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698