summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-05-26 17:57:09 -0700
committerMatt Turner <mattst88@gmail.com>2015-05-26 17:57:09 -0700
commit4cc90a6a7e88208baa1e978592452594b13d1fb5 (patch)
treee9c2a975fd0d16e790dddb85cada60eaf118aa53
parentb61175f76e08f964ea9d37c1e7643f858998607e (diff)
run.py: Set PIGLIT_PLATFORM=gbm.
Lets me use run.py without extra arguments without X.
-rwxr-xr-xrun.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/run.py b/run.py
index 614256b..b31f08f 100755
--- a/run.py
+++ b/run.py
@@ -86,6 +86,7 @@ def main():
os.environ["shader_precompile"] = "true"
os.environ["allow_glsl_extension_directive_midshader"] = "true"
+ os.environ["PIGLIT_PLATFORM"] = "gbm"
if "INTEL_DEBUG" in os.environ:
print("Warning: INTEL_DEBUG environment variable set!", file=sys.stderr)
os.environ["INTEL_DEBUG"] += ",vs,gs,fs"