summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-09-22 16:49:43 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2015-10-07 09:04:43 -0700
commit76b4041dfc258fe7f3f8d818d81817078937ec70 (patch)
tree23999bcb87a3fab73a1a99869dda450eda7d910b
parentfe2b030d70139033872b5ff33b2b531e296c7159 (diff)
framework/tests/deqp.py: hide 'dumping caselist' dialog.
No one wants to see this, it isn't useful, and it produces a bunch of clutter, so just send it to /dev/null (or your OS's equivalent). Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r--framework/test/deqp.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/test/deqp.py b/framework/test/deqp.py
index 8641e45c3..8290faf89 100644
--- a/framework/test/deqp.py
+++ b/framework/test/deqp.py
@@ -82,8 +82,10 @@ def gen_caselist_txt(bin_, caselist, extra_args):
caselist_path = os.path.join(basedir, caselist)
# TODO: need to catch some exceptions here...
- subprocess.check_call(
- [bin_, '--deqp-runmode=txt-caselist'] + extra_args, cwd=basedir)
+ with open(os.devnull, 'w') as d:
+ subprocess.check_call(
+ [bin_, '--deqp-runmode=txt-caselist'] + extra_args, cwd=basedir,
+ stdout=d, stderr=d)
assert os.path.exists(caselist_path)
return caselist_path