[Piglit] [PATCH] namespace-pollution: Initial framework and test cases for namespace pollution

2015-12-16 Thread Ian Romanick
From: Ian Romanick See the giant comment in the top of tests/general/object-namespace-pollution.c for more details. Currently only buffer objects and texture objects are supported with glClear and glGenerateMipmap. Addtional objects and operations will be added. Both glClear and glGenerateMipm

[Piglit] [PATCH 5/4] framework/backends/junit.py; timeouts are errors

2015-12-16 Thread baker . dylan . c
From: Dylan Baker Previously a timeout would be marked as pass, but that makes no sense. This marks it as an error. v6: - add this patch Signed-off-by: Dylan Baker --- Apparently this isn't affecting anyone at the moment, but as soon as a jenkins user turns on timeouts they're going to get so

[Piglit] [PATCH v5 3/4] framework/tests/base_tests.py: use utils helper to simplify test

2015-12-16 Thread baker . dylan . c
From: Dylan Baker This just saves some code duplication. v3: - fix tests to actually work. Signed-off-by: Dylan Baker --- framework/tests/base_tests.py | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/framework/tests/base_tests.py b/framework/tests/bas

[Piglit] [PATCH v5 0/4] Use subprocess32 to provide thread safe timeouts

2015-12-16 Thread baker . dylan . c
From: Dylan Baker This is a pretty minor update to the v4. It adds a few comments, and fixes a (pretty serious) but that caused test classes with no timeout set to have a timeout of 0 seconds, instead of an unlimited timeout. This is available at my github: https://github.com/dcbaker/piglit subm

[Piglit] [PATCH v5 2/4] framework/tests/base_tests.py: fix descriptions of two timeout tests

2015-12-16 Thread baker . dylan . c
From: Dylan Baker These tests claimed to test the timeout mechanism, but what they're really testing is the status changing ability of the timeout mechanism. Signed-off-by: Dylan Baker --- framework/tests/base_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fra

[Piglit] [PATCH v5 1/4] framework/tests: add helper for checking for 3rd party modules

2015-12-16 Thread baker . dylan . c
From: Dylan Baker This little helper skips a test if a module isn't available. Signed-off-by: Dylan Baker --- framework/tests/junit_backends_tests.py | 3 +-- framework/tests/utils.py| 9 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/framework/tests/

[Piglit] [PATCH v5 4/4] framework/test/base.py: use subprocess32 for timeouts.

2015-12-16 Thread baker . dylan . c
From: Dylan Baker Subprocess32 provides a backport of python 3.2's subprocess module, which has a timeout parameter for Popen.communicate. When the timeout runs out then an exception is raised, and when that exception is caught we can kill the process. This is fairly similar to the way the curre

[Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen --- v2: Fix copy-paste error in drawid-indirect-vertexid case. tests/all.py | 15 ++ tests/spec/CMakeLists.txt | 1 + .../arb_shader_draw_parameters/CMakeLists.gl.txt | 14 ++ .../spec/arb_s

[Piglit] [PATCH] arb_separate_shader_objects: make sure explicit locations match and don't just overlap

2015-12-16 Thread Timothy Arceri
Test results: Nvidia GeForce 840M - NVIDIA 352.41: fail Mesa 11.2 (dev): pass --- ...fs-explicit-location-mismatch-array.shader_test | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 tests/spec/arb_separate_shader_objects/linker/vs-to-fs-explicit-location-mismatch-

Re: [Piglit] [PATCH] igt: Restore handling of special igt error codes

2015-12-16 Thread Dylan Baker
This will solve the issue, and shouldn't have any side effects. I think you can actually just drop the super call (although, now that I look at it the code in Test probably actually belongs in PiglitTest, but I digress). On Wed, Dec 16, 2015 at 8:03 AM, Daniel Vetter wrote: > In > > commit 5cbc1

Re: [Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Ilia Mirkin
On Wed, Dec 16, 2015 at 1:28 PM, Kristian Høgsberg wrote: > From: Kristian Høgsberg Kristensen > > --- > tests/all.py | 15 ++ > tests/spec/CMakeLists.txt | 1 + > .../arb_shader_draw_parameters/CMakeLists.gl.txt | 14 ++ > ...

[Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen --- tests/all.py | 15 ++ tests/spec/CMakeLists.txt | 1 + .../arb_shader_draw_parameters/CMakeLists.gl.txt | 14 ++ .../spec/arb_shader_draw_parameters/CMakeLists.txt | 1 + tests/spec/arb_

Re: [Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Kristian Høgsberg
On Wed, Dec 16, 2015 at 10:18 AM, Kristian Høgsberg wrote: > From: Kristian Høgsberg Kristensen Oops, disregard this one, sent it from the wrong repo. Kristian > --- > tests/spec/CMakeLists.txt | 1 + > .../arb_shader_draw_parameters/CMakeLists.gl.txt | 15 ++ >

[Piglit] [PATCH] Add tests for GL_ARB_shader_draw_parameters

2015-12-16 Thread Kristian Høgsberg
From: Kristian Høgsberg Kristensen --- tests/spec/CMakeLists.txt | 1 + .../arb_shader_draw_parameters/CMakeLists.gl.txt | 15 ++ .../spec/arb_shader_draw_parameters/CMakeLists.txt | 1 + .../spec/arb_shader_draw_parameters/baseinstance.c | 164 +++

Re: [Piglit] [PATCH] igt: Restore handling of special igt error codes

2015-12-16 Thread Mark Janes
Reviewed-by: Mark Janes Daniel Vetter writes: > In > > commit 5cbc1834fd47e7f475afc85e1638762e5b221a81 > Author: Dylan Baker > Date: Mon Dec 14 15:34:11 2015 -0800 > > framework/test/base.py: Handle fail cases for tests. > > the Test baseclass was made more robust in it's default behavio

[Piglit] [PATCH] igt: Restore handling of special igt error codes

2015-12-16 Thread Daniel Vetter
In commit 5cbc1834fd47e7f475afc85e1638762e5b221a81 Author: Dylan Baker Date: Mon Dec 14 15:34:11 2015 -0800 framework/test/base.py: Handle fail cases for tests. the Test baseclass was made more robust in it's default behaviour, but that totally broke igt error code handling. CI is ... ra

Re: [Piglit] [PATCH 2/2] framework/test/base.py: Handle fail cases for tests.

2015-12-16 Thread Daniel Vetter
On Mon, Dec 14, 2015 at 05:14:18PM -0800, Mark Janes wrote: > Reviewed-by: Mark Janes > > baker.dyla...@gmail.com writes: > > > From: Dylan Baker > > > > I'm going to admit I'm a bit puzzled how this could have slipped through > > without being caught (I'm guessing an unrelated change uncovered

Re: [Piglit] [PATCH] texwrap: fix stencil texturing a bit

2015-12-16 Thread Brian Paul
On 12/15/2015 09:38 PM, srol...@vmware.com wrote: From: Roland Scheidegger Previously, the test was actually using all-zeros in the end for the image, so unsurprisingly it passed, except when border color was used. Add the special stencil case handling in a couple more cases. This will still no

[Piglit] [PATCH] EXT_multisampled_render_to_texture: functional test

2015-12-16 Thread Magnus Wendt
EXT_multisampled_render_to_texture allows you to bind a singlesampled texture to the color attachment of a multisampled framebuffer object. Rendering is multisampled and the multisample data is implicitly resolved and invalidated when texturing. The test renders a ground truth image by drawing a s

[Piglit] [PATCH] EXT_multisampled_render_to_texture: functional test

2015-12-16 Thread Magnus Wendt
Hi, I have written a functional test for EXT_multisampled_render_to_texture. I have an implementation of this for i965 that I will send to Mesa. I do not have merge privilages so I would be grateful if someone would merge this once it has been reviewed. regards, Magnus Wendt - Intel OTC Magnus