summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2016-01-07 17:00:45 -0800
committerDylan Baker <baker.dylan.c@gmail.com>2016-01-07 17:00:45 -0800
commitb32ecadcec81f1a44015429854542d17b0f759a8 (patch)
tree3fdab0af05ca9b3f4af12baf0e9619bb0f9882db
parentb3f01640f86491a902763e10b208b7fc82bf5323 (diff)
README: Add notes about environment variables
Document the environment variables the framework and tests accept. Trivial. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r--README22
1 files changed, 21 insertions, 1 deletions
diff --git a/README b/README
index 046cb6236..e48c23dd0 100644
--- a/README
+++ b/README
@@ -277,7 +277,27 @@ The summary shows the 'status' of a test:
There are also dmesg-* statuses. These have the same meaning as above, but are
triggered by dmesg related messages.
-3.1 Note
+3.1 Environment Variables
+-------------------------
+
+There are a number of environment variables that control the way piglit
+behaves.
+
+ PIGLIT_COMPRESSION
+ Overrides the compression method used. The same values that piglit.conf
+ allows for core:compression.
+
+ PIGLIT_PLATFORM
+ Overrides the platform run on. These allow the same values as ``piglit
+ run -p``. This values is honored by the tests themselves, and can be used
+ when running a single test.
+
+ PIGLIT_FORCE_GLSLPARSER_DESKTOP
+ Force glslparser tests to be run with the desktop (non-gles) version of
+ glslparsertest. This can be used to test ES<x>_COMPATABILITY extensions
+ for OpenGL
+
+3.2 Note
--------
The way 'piglit run' and 'piglit summary' count tests are different, 'piglit