Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
No clears (since those require the pixel pipeline to work)
No ortho
No colors
No drawing
Rasterizer Discard
|
|
If GBM is enabled, attempt to locate libcaca too.
If the test was not run with -auto, then use libcaca
to draw a text version of the test's results to the
console.
v2 (Ben): Rebase
Per Ken's comment the libcaca API may change at v1.0, but it's still not
there are 8 months. I propose we push this, and worry about libcaca
breakage later.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> (v1)
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
|
|
This corrects in a permanent and automatic way the changes in the
results that were fixed in the previous patch.
v2: - add this patch
v3: - Only add each element if it exists
- Put the tests in their own module
v4: - actually check that test module into git...
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
framework.results.load_results calls update_results() internally. This
means that as soon as a second method is added that updates results to
version 2 then the tests will start failing.
v2: - add this patch
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
This allows resume to use the same level of verbosity as the initial
run.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
Move the environment information back into the root of the json output
dictionary.
Also modifies two tests. One is removed because it is basically a
duplicate of the tests added in the last patch, the other is simplified
to be more robust.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
Refactor run.py a little to allow testing the Backend.initialize() call.
This adds tests for the output of the json piglit format. This currently
has 4 failing tests exposing two separate bugs:
1) the logger verbosity level is not stored and thus cannot be used by
resume
2) lspci, uname, and glxinfo are not written into the root of the json
output.
This also adds a unit test utility function for skipping unit tests when
the OS is not the required OS.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
Currently when a user runs piglit mako temp files are put in the OS
appropriate location. On Linux, this is /tmp/piglit. The problem is that
these files are owned by that user and unusable by a second user. This
works out fine for most use cases, but not for the case of a shared
piglit slave with multiple users.
This patch fixes the issue by creating a piglit-$(username) folder to
put the mako files in. For most users this will be transparent and have
no effect on them.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Acked-by: Jason Ekstrand <jason.ekstrand@gmail.com>
|
|
Currently when piglit finishes running it prints a final summary. It
does not however, print a newline afterwards. This means that the
summary is partially overwritten by the 'thanks for running piglit'
message.
This patch corrects that problem, making the final output look much
nicer.
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
|
|
As ordered by Matt Turner.
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
b8d8cfadcc83fd09c1367821337d473d80bb6607 inadvertenty disabled the
--junit_suffix functionality, which is needed to differentiate results
from multiple test runs.
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
|
|
This avoids having to flush rendering after every texture operation.
Combined with a vc4 driver fix, reduces runtime of the test on
simulation from 160s to 44s.
It's still provoking a lot of flushes, because each slice of the 3d
texture uploads is being DISCARD_RANGE-mapped individually.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
There are only 4x4 texels, so let's just draw each one, and actually
sample them all.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Editing was irritating because indentation was wrong.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Trivial.
|
|
Non-standard GCC extension.
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
It's already defined in tests/util/piglit-util.h if necessary, furthermore
it's a macro on MSVC, so redefining it causes errors.
Reviewed-by: Brian Paul <brianp@vmware.com>
|
|
Tested on Apple CL (10.9, CPU and GF9400m) to 1ULP.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tested on Apple CL (CPU and GF9400m) down to 1 ULP precision, but
the spec says 16ULP.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tests both usage and non-usage of return value.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tests both usage of and no usage of return value.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tests for both usage-of and non-usage-of the return value
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tests both usage of return and no usage of return.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tests both usage of return and no usage of return variants.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tests both usage and non-usage of return value.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tests both usage of return values and no usage in separate files.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Tests both usage of return value and no-return-usage variants.
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Silence clang sometimes-uninitialized warnings.
simple.c:368:6: warning: variable 'test_type' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (all_types[i])
^~~~~~~~~~~~
simple.c:380:30: note: uninitialized use occurs here
piglit_require_GLSL_version(test_type->glsl_version_required);
^~~~~~~~~
simple.c:368:2: note: remove the 'if' if its condition is always true
if (all_types[i])
^~~~~~~~~~~~~~~~~
simple.c:355:35: note: initialize the variable 'test_type' to silence this warning
const struct type_desc *test_type;
^
= NULL
simple.c:374:11: warning: variable 'test_array' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
else if (strcmp(argv[2], "separate") == 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
simple.c:385:12: note: uninitialized use occurs here
test_array, max_varying_floats);
^~~~~~~~~~
simple.c:374:7: note: remove the 'if' if its condition is always true
else if (strcmp(argv[2], "separate") == 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
simple.c:356:22: note: initialize the variable 'test_array' to silence this warning
GLboolean test_array;
^
= '\0'
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.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>
|
|
This allows the function to be shared by run and resume. It was not
present in resume before, thus windows exceptions would still raise an
exception and open a popup window.
v2: - rename function per Ken
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
|
|
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85079
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
|
|
|
|
|
|
|
|
|