Fix gtest parser to work correctly with tags
The parser fails to correctly locate the output .DEBUG file in the case of
tagged tests.
BUG=None
TEST=desktopui_PyAutoFunctionalTests should show up properly spread
into individual tests on the autotest dashboard.
Change-Id: I562e8d3570ef996c21b6239907c5c7500ba6af9b
Reviewed-on: https://gerrit.chromium.org/gerrit/11405
Reviewed-by: Mike Truty <truty@chromium.org>
Tested-by: Nirnimesh <nirnimesh@chromium.org>
Commit-Ready: Nirnimesh <nirnimesh@chromium.org>
diff --git a/server/site_server_job_utils.py b/server/site_server_job_utils.py
index 87a66d3..0384f4b 100644
--- a/server/site_server_job_utils.py
+++ b/server/site_server_job_utils.py
@@ -43,6 +43,9 @@
"""
self.test_name = test_name
self.test_args = test_args
+ self.tagged_test_name = test_name
+ if test_args.get('tag'):
+ self.tagged_test_name = test_name + '.' + test_args.get('tag')
if test_attribs is None:
test_attribs = {}