Commit d1e4b4f3 authored by Jason Ekstrand's avatar Jason Ekstrand

README: Rework environment variables docs

Acked-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
Reviewed-by: Juan Suárez Romero's avatarJuan A. Suarez <jasuarez@igalia.com>
parent afd817be
...@@ -79,8 +79,7 @@ Now configure the build system: ...@@ -79,8 +79,7 @@ Now configure the build system:
This will start cmake's configuration tool, just follow the onscreen This will start cmake's configuration tool, just follow the onscreen
instructions. The default settings should be fine, but I recommend you: instructions. The default settings should be fine, but I recommend you:
- Press 'c' once (this will also check for dependencies) and then - Press 'c' once (this will also check for dependencies) and then
- Set `CMAKE_BUILD_TYPE` to `Debug` - Set `CMAKE_BUILD_TYPE` to `Debug` Now you can press 'c' again and then 'g' to generate the build system.
Now you can press 'c' again and then 'g' to generate the build system.
Now build everything: Now build everything:
$ make $ make
...@@ -261,30 +260,35 @@ triggered by dmesg related messages. ...@@ -261,30 +260,35 @@ triggered by dmesg related messages.
There are a number of environment variables that control the way piglit There are a number of environment variables that control the way piglit
behaves. behaves.
PIGLIT_COMPRESSION - `PIGLIT_COMPRESSION`
Overrides the compression method used. The same values that piglit.conf
allows for core: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 - `PIGLIT_PLATFORM`
run -p``. This values is honored by the tests themselves, and can be used
when running a single test. 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
PIGLIT_FORCE_GLSLPARSER_DESKTOP a single test.
Force glslparser tests to be run with the desktop (non-gles) version of
glslparsertest. This can be used to test ES<x>_COMPATABILITY extensions - `PIGLIT_FORCE_GLSLPARSER_DESKTOP`
for OpenGL
Force glslparser tests to be run with the desktop (non-gles) version of
PIGLIT_NO_FAST_SKIP glslparsertest. This can be used to test ESX_compatability extensions
Piglit has a mechanism run in the python layer for skipping tests with for OpenGL
unmet OpenGL or window system dependencies without starting a new
process (which is expensive). Sometimes this system doesn't work or is - `PIGLIT_NO_FAST_SKIP`
undesirable, setting this environment variable to True will disable this
system. Piglit has a mechanism run in the python layer for skipping tests with
unmet OpenGL or window system dependencies without starting a new
PIGLIT_NO_TIMEOUT process (which is expensive). Sometimes this system doesn't work or is
When this variable is true in python then any timeouts given by tests undesirable, setting this environment variable to True will disable this
will be ignored, and they will run until completion or they are killed. system.
- `PIGLIT_NO_TIMEOUT`
When this variable is true in python then any timeouts given by tests
will be ignored, and they will run until completion or they are killed.
### 3.2 Note ### 3.2 Note
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment