Otherwise you'd approximately never terminate a run with khronos's testsuite included in the run. If you were lucky.
Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Dylan Baker <[email protected]> --- framework/core.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/framework/core.py b/framework/core.py index 5cb24aa..8fa0985 100644 --- a/framework/core.py +++ b/framework/core.py @@ -207,6 +207,15 @@ if 'PIGLIT_SOURCE_DIR' not in os.environ: os.environ['PIGLIT_SOURCE_DIR'] = p.abspath(p.join(p.dirname(__file__), '..')) +# In debug builds, Mesa will by default log GL API errors to stderr. +# This is useful for application developers or driver developers +# trying to debug applications that should execute correctly. But for +# piglit we expect to generate errors regularly as part of testing, +# and for exhaustive error-generation tests (particularly some in +# khronos's conformance suite), it can end up ooming your system +# trying to parse the strings. +if 'MESA_DEBUG' not in os.environ: + os.environ['MESA_DEBUG'] = 'silent' class TestResult(dict): pass -- 1.8.4.rc3 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
