graphics_parallel_dEQP: Add more docstrings to appease CL verification.
BUG=b:180147369
TEST=test_that trogdor graphics_parallel_dEQP.gles2
Change-Id: I918f986122cff96f1fbf0cd9dc72ea14afc53133
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2888946
Tested-by: Eric Anholt <anholt@google.com>
Auto-Submit: Eric Anholt <anholt@google.com>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
diff --git a/client/site_tests/graphics_parallel_dEQP/graphics_parallel_dEQP.py b/client/site_tests/graphics_parallel_dEQP/graphics_parallel_dEQP.py
index 7f776b1..4f85420 100644
--- a/client/site_tests/graphics_parallel_dEQP/graphics_parallel_dEQP.py
+++ b/client/site_tests/graphics_parallel_dEQP/graphics_parallel_dEQP.py
@@ -41,6 +41,7 @@
]
def initialize(self):
+ """Initialize the test."""
super(graphics_parallel_dEQP, self).initialize()
self._api_helper = graphics_utils.GraphicsApiHelper()
self._board = utils.get_board()
@@ -63,6 +64,7 @@
self._services.stop_services()
def cleanup(self):
+ """Clean up the test state from initialize()."""
if self._services:
self._services.restore_services()
super(graphics_parallel_dEQP, self).cleanup()
@@ -76,6 +78,7 @@
return api in self._api_helper.get_supported_apis()
def read_file(self, filename):
+ """Board/GPU expectation file read helper."""
expects_path = os.path.join(self.autodir, 'tests',
'graphics_parallel_dEQP', 'boards',
filename)
@@ -155,6 +158,7 @@
# TODO: Add the other VK shards on trogdor
def add_filter_arg(self, command, list, arg, filename):
+ """Adds an arg for xfail/skip/flake filtering if we made the file for it."""
if not list:
return
@@ -165,6 +169,7 @@
command.append(arg + '=' + path)
def run_once(self, opts=None):
+ """Invokes deqp-runner to run a deqp test group."""
options = dict(
api=None,
caselist=None,