[Piglit] [PATCH 5/5] tests: add no_error test profile for testing KHR_no_error

2017-05-11 Thread Timothy Arceri
--- tests/no_error.py | 29 + 1 file changed, 29 insertions(+) create mode 100644 tests/no_error.py diff --git a/tests/no_error.py b/tests/no_error.py new file mode 100644 index 000..c060b42 --- /dev/null +++ b/tests/no_error.py @@ -0,0 +1,29 @@ +# -*- coding:

[Piglit] [PATCH 4/5] framework: Add command.setter method to Test

2017-05-11 Thread Timothy Arceri
From: Dylan Baker This allows the command to be overwritten or modified after instantiation, which is useful for adding additional arguments in a profile. Signed-off-by: Dylan Baker --- framework/test/base.py | 5

[Piglit] [PATCH 2/5] piglit-framework-gl: skip tests incompatible with KHR_no_error

2017-05-11 Thread Timothy Arceri
This skips tests marked as not being error free and also tests with an unknown error status (this is the default setting). --- tests/util/piglit-framework-gl.c | 16 1 file changed, 16 insertions(+) diff --git a/tests/util/piglit-framework-gl.c b/tests/util/piglit-framework-gl.c

[Piglit] [PATCH 3/5] shader_runner: mark as compatible with KHR_no_error testing

2017-05-11 Thread Timothy Arceri
There should be no api errors in shader_runner tests. The spec says nothing about not marking link status as failed should shaders contain errors so we continue to test those. --- tests/shaders/shader_runner.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/shaders/shader_runner.c

[Piglit] RFC add KHR_no_error profile

2017-05-11 Thread Timothy Arceri
This series adds a new profile for testing KHR_no_error, initially all tests besides shader_runner tests will be skipped. To enable the tests config.khr_no_error_support will need to be set for each test, this will be a bunch of work and will probably require some tests split out error checking

[Piglit] [PATCH 1/5] piglit-framework-gl: add KHR_no_error enum to piglit_gl_test_config

2017-05-11 Thread Timothy Arceri
This will allow us to mark piglit tests suitable for KHR_no_error testing, and skip those that aren't. Everything is marked as PIGLIT_UNKNOWN_ERROR_STATUS by default. --- tests/util/piglit-framework-gl.c | 2 ++ tests/util/piglit-framework-gl.h | 11 +++ 2 files changed, 13

Re: [Piglit] Question about POST processing test profiles

2017-05-11 Thread Timothy Arceri
On 12/05/17 03:57, Dylan Baker wrote: Quoting Timothy Arceri (2017-05-10 18:27:49) On 10/05/17 14:44, Timothy Arceri wrote: Hi Dylan/other python pros, I'm trying to create a new no_error profile for running tests that are suitable for use with KHR_no_error. I want to flag KHR_no_error

Re: [Piglit] Question about POST processing test profiles

2017-05-11 Thread Timothy Arceri
On 12/05/17 05:09, Dylan Baker wrote: The test-command-setter on my github repo should provide all of the groundwork you need. Thanks for your help, I'll take a look :) Dylan Quoting Dylan Baker (2017-05-11 10:57:32) Quoting Timothy Arceri (2017-05-10 18:27:49) On 10/05/17 14:44, Timothy

Re: [Piglit] [PATCH] CMake: define GBM_BO_MAP only when symbol is found

2017-05-11 Thread Jan Vesely
On Thu, 2017-05-11 at 14:17 -0500, Daniel Díaz wrote: > gbm_bo_map() and _unmap() have been added recently to Mesa, > and this update may not have reached all implementations of > GBM, such as the one provided by Mali r6, where said > definitions can be found in the header file but not in the >

Re: [Piglit] [PATCH] drawoverhead: new microbenchmark

2017-05-11 Thread Eric Anholt
Marek Olšák writes: > From: Marek Olšák > > Based on a benchmark from mesa/demos, but rewritten and extended. > It's a benchmark expected to be run separately, not a piglit test. > So why piglit? Because it's a good framework for writing apps like this. >

[Piglit] [PATCH] CMake: define GBM_BO_MAP only when symbol is found

2017-05-11 Thread Daniel Díaz
gbm_bo_map() and _unmap() have been added recently to Mesa, and this update may not have reached all implementations of GBM, such as the one provided by Mali r6, where said definitions can be found in the header file but not in the library itself. This leads to errors like the following when

Re: [Piglit] Question about POST processing test profiles

2017-05-11 Thread Dylan Baker
The test-command-setter on my github repo should provide all of the groundwork you need. Dylan Quoting Dylan Baker (2017-05-11 10:57:32) > Quoting Timothy Arceri (2017-05-10 18:27:49) > > On 10/05/17 14:44, Timothy Arceri wrote: > > > Hi Dylan/other python pros, > > > > > > I'm trying to create

[Piglit] [Bug 100978] Undefined references: gbm_bo_map and _unmap on Mali

2017-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100978 --- Comment #6 from Dylan Baker --- Please send the patch to the piglit mailing list using git-send-email. Feel free to CC me on it. -- You are receiving this mail because: You are the QA Contact for the

Re: [Piglit] Question about POST processing test profiles

2017-05-11 Thread Dylan Baker
Quoting Timothy Arceri (2017-05-10 18:27:49) > On 10/05/17 14:44, Timothy Arceri wrote: > > Hi Dylan/other python pros, > > > > I'm trying to create a new no_error profile for running tests that are > > suitable for use with KHR_no_error. I want to flag KHR_no_error support > > in the c code of

Re: [Piglit] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 117: ordinal not in range(128)

2017-05-11 Thread Dylan Baker
Quoting Dai, XiangX (2017-05-10 22:54:45) > Hi, all! > > I test with piglit/igt-basic which is a wonderfule test tool. > But i find a confused issue like below: > Traceback (most recent call last): > File "/lkp/benchmarks/piglit/lib/piglit/framework/test/base.py", line 209, > in > execute >