Age | Commit message (Collapse) | Author | Files | Lines |
|
v2: - fix cpu.py message (Emil)
- correct typo (deqp-gles3.py -> deqp_gles3.py)
v3: - correct second occurrence typo (Emil)
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com> (v1)
|
|
v2: - Add this patch after comments (Emil)
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
Updates README and the help message to be clear about using multiple
test profiles.
v2: - Fix spelling error (Emil)
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com> (v1)
|
|
The version number must be manually on command line, hence this
version check is just an hindrance for Windows.
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Reviewed-by: Dylan Baker <dylanx.c.baker@intel.com>
|
|
This will allow us to use waffle with its upcoming WGL support for
Windows. With that done, the final step to removing glut is to convert
piglit to use waffle for MacOS.
Current implementation does not have input handling/event loop, and as
such one needs to pass "-auto" when running individual tests, otherwise
the test will abort after being displayed for 8 seconds.
Waffle 1.5.0 is the first version that has WGL support.
TODO:
- Add input handling (event_loop).
v2: Updated the instructions in the README.
v3: Update against upstream Waffle (no API breakage)
v4: s/Sleep/fprintf()+getchar()/ in the event_loop. Suggested by Jose.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
|
|
Verified that cmake aborts with MSVS 2012.
https://bugs.freedesktop.org/show_bug.cgi?id=85528
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
This section has either been long since completed or is outside the
scope of the piglit project.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Separate out the OpenCL and OpenGL profiles into different sections, and
add a section for integration tests. This doesn't include es3conform and
oglconform since I don't think that either of them actually work at this
point.
v2: - fix some nits from ken
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Adds the crash, timeout and the dmesg-* statuses.
v2: - fix some nits from Ken
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
These are old and maintained as compatibility options, modern
development should be happening in the unified piglit command anyway.
v2: - fix some nits from Ken
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
These are accelerated libraries that the python framework can optionally
use to run faster.
v2: - fix some nits from Ken
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Python 2.6.6 was the final feature release of the 2.6 branch, it was
released in August 2010. Python 2.6.9 was the last security release, it
was released in October 2013. There is no support from upstream for 2.6,
either for bugs or security problems, OSX, linux, windows all have 2.7
available to them, as does VMWare in their environment.
Since no one any longer has a hard 2.6 requirement going to 2.7 seems
like a natural choice. It has more features, more modules, and better
3.x compatibility than 2.6 does.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
Waffle now lives at http://www.waffle-gl.org.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
|
|
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
|
|
This patch adds a framework test to show the problem with
GleanTest.globalParams. It makes use of nose, a python testing
framework, which is simple to write tests for, and is in widespread
usage for testing python code.
Acked-by: Jose Fonseca <jfonseca@vmware.com>
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
This patch renames the .tests files to .py files; which is required for
the python interpreter to allow importing them.
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
|
|
|
|
This change is in preparation for the next patch that replaces getopt
with argparse. Argparse is only available in python 2.7+ and 3.2+.
One concern with this change is the availability of Python 2.7 on
non-Linux platforms, however:
- OSX 10.8 ships with python 2.7.2
- OSX 10.7.4 ships with python 2.7.1
- 2.7.3 is available for windows
V2: - Splits this change from the next patch (Replaces getopt with
argparse)
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
|
|
Not actually necessary. rgbTriStrip test used it but it was just a proof
of concept, never part of any test list.
This greatly simplifies building piglit for Windows.
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
|
|
Update README to include information about OpenCL tests.
Signed-off-by: Blaž Tomažič <blaz.tomazic@gmail.com>
|
|
|
|
|
|
|
|
|
|
This patch adds 462 tests to piglit, which comprehensively test the
behavior of GLSL built-in functions on vertex and fragment shaders.
The test vectors are auto-generated in Python, by using the numpy
library to simulate the behavior of the built-in functions on a
variety of inputs (in builtin_function.py), and then producing
shader_runner tests to verify the expected behavior (in
gen_builtin_uniform_tests.py).
Test generation happens as part of the piglit build process. To run
the test generation step by itself, use "make gen-tests" from the root
of the piglit tree (after configuring using cmake). The generated
tests may be found in generated_tests/spec.
The auto-generation code depends on Python 2.6 and on the numpy
library (www.numpy.org). I've updated the README to reflect these
dependencies, and added code to CMakeLists.txt to check for them at
configure time. (Note: other parts of Piglit already depend on Python
2.6, but the dependency wasn't previously explicit).
|
|
Signed-off-by: Chad Versace <chad@chad-versace.us>
|
|
To run Piglit with an out-of-tree build, set the environment variable
PIGLIT_BUILD_DIR. For example:
$ env PIGLIT_BUILD_DIR=/path/to/piglit/build/dir \
./piglit-run.py tests/sanity.tests results/sanity.results
Signed-off-by: Chad Versace <chad.versace@intel.com>
|
|
Trade number of visuals and state combinations tested for running time.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
|
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
|
|
|
|
|