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 <[email protected]> --- framework/test/deqp.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/framework/test/deqp.py b/framework/test/deqp.py index 8641e45..8290faf 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 -- 2.5.3 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
