graphics_dEQP: reduce spew to logs.
The dEQP logs can be on the rather large size. Have less spew recorded
for now.
BUG=None.
TEST=test_that $DUT graphics_dEQP.gles3.info
Change-Id: I50e35cca091ceb5865de675b99db8554af996224
Reviewed-on: https://chromium-review.googlesource.com/357952
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Trybot-Ready: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
diff --git a/client/site_tests/graphics_dEQP/graphics_dEQP.py b/client/site_tests/graphics_dEQP/graphics_dEQP.py
index 50e5c82..40c1aa4 100644
--- a/client/site_tests/graphics_dEQP/graphics_dEQP.py
+++ b/client/site_tests/graphics_dEQP/graphics_dEQP.py
@@ -57,7 +57,7 @@
self._gpu_type = utils.get_gpu_family()
# Determine which executable should be run. Right now never egl.
major, minor = graphics_utils.get_gles_version()
- logging.info('Found gles%d.%d.' % (major, minor))
+ logging.info('Found gles%d.%d.', (major, minor))
if major is None or minor is None:
raise error.TestError(
'Could not get gles version information (%d, %d).' %
@@ -208,9 +208,7 @@
timeout=60,
stderr_is_expected=False,
ignore_status=False,
- stdin=None,
- stdout_tee=utils.TEE_TO_LOGS,
- stderr_tee=utils.TEE_TO_LOGS)
+ stdin=None)
# Now read this caselist file.
caselist_name = '%s-cases.txt' % test_filter.split('.')[0]
@@ -310,7 +308,7 @@
result = 'Skipped'
logging.info('Skipping on %s: %s', self._gpu_type, test_case)
else:
- logging.info('Running single: %s', command)
+ logging.debug('Running single: %s', command)
# Must initialize because some errors don't repopulate
# run_result, leaving old results.
run_result = {}
@@ -319,9 +317,7 @@
run_result = utils.run(command,
timeout=self._timeout,
stderr_is_expected=False,
- ignore_status=True,
- stdout_tee=utils.TEE_TO_LOGS,
- stderr_tee=utils.TEE_TO_LOGS)
+ ignore_status=True)
result_counts = self._parse_test_results(log_file)
if result_counts:
result = result_counts.keys()[0]
@@ -430,9 +426,7 @@
timeout=batch_timeout,
stderr_is_expected=False,
ignore_status=False,
- stdin=batch_cases,
- stdout_tee=utils.TEE_TO_LOGS,
- stderr_tee=utils.TEE_TO_LOGS)
+ stdin=batch_cases)
except Exception:
pass
# We are trying to handle all errors by parsing the log file.