This patch changes binary_check to work when a binary is present, but
doesn't work for some reason.
The example here is in the json content tests, where it looks for
glxinfo, but if X isn't running glxinfo provides no output, which will
cause a test to fail. This isn't useful, so instead of using
Rather than loading a file out of the tree (which might be moved,
deleted, etc.) create a temporary file and load that.
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com
---
framework/tests/glsl_parser_test_tests.py | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff
These add a few tests that check the glslparser_gles2 detection, we
already have tests for glslparsertest.
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com
---
framework/tests/glsl_parser_test_tests.py | 27 +++
1 file changed, 27 insertions(+)
diff --git
This code is pretty self contained and specific, by making a mixin we
allow it to be added to additional Test classes, and provides isolation
of the logic.
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com
---
framework/test/base.py| 64 +++-
This refactors the Test.run() method, making it simpler, and moving
result interpretation logic into the more natural interpret_result()
method.
This is purely a refactor, and doesn't change the code at all.
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com
---
framework/test/base.py
This prevents piglit from aggregating tests from a previous run into the
new run by deleting the old tests directory before starting.
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com
---
framework/programs/run.py | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git
This function has two problems:
1) It desperately needs to be refactored to make better use of
the except block.
3) It needs to be refactored to raise a PiglitFatalException.
2) It's far too specific to be in core, it really should be refactored
to raise a PiglitInternalError when
It's a simple function test for clEnqueueReadBufferRect and
clEnqueueWriteBufferRect.
---
tests/cl.py | 2 +
tests/cl/api/CMakeLists.cl.txt| 1 +
tests/cl/api/enqueue-read_write-buffer-rect.c | 338 ++
3 files changed,
Oh, it's my negligence. I need to resend out a final edition.
I'm very grateful for your careful and repeated reviewing.
Thanks,
Meng
-Original Message-
From: EdB [mailto:edb+pig...@sigluy.net]
Sent: Thursday, July 30, 2015 7:42 PM
To: piglit@lists.freedesktop.org
Cc: Meng, Mengmeng
This was a design mistake from the start, subclassing the Test class and
overriding the run() method achieves the same result, without the need
for this hook
Signed-off-by: Dylan Baker dylanx.c.ba...@intel.com
---
This hook was only used in unit tests, so the only affect should be to
make
On Sun, 2015-08-02 at 10:25 -0400, Ilia Mirkin wrote:
On Sun, Aug 2, 2015 at 8:04 AM, Timothy Arceri t_arc...@yahoo.com.au
wrote:
---
.../fs-simple-inc-dec-read.shader_test | 109
+
1 file changed, 109 insertions(+)
create mode 100644
On Sun, 2015-08-02 at 10:22 -0400, Ilia Mirkin wrote:
On Sun, Aug 2, 2015 at 8:04 AM, Timothy Arceri t_arc...@yahoo.com.au
wrote:
---
.../atomic_counters/fs-indirect-index.shader_test | 72
+++
.../atomic_counters/vs-indirect-index.shader_test | 82
Hi Timothy,
On Mon, 2015-08-03 at 18:39 +1000, Timothy Arceri wrote:
On Mon, 2015-08-03 at 08:47 +0200, Iago Toral wrote:
If no body has issues with these two patches I'd like to push them later
this week.
Iago
On Tue, 2015-07-28 at 13:52 +0200, Iago Toral Quiroga wrote:
On Mon, 2015-08-03 at 08:47 +0200, Iago Toral wrote:
If no body has issues with these two patches I'd like to push them later
this week.
Iago
On Tue, 2015-07-28 at 13:52 +0200, Iago Toral Quiroga wrote:
Default ES precision qualifiers for integer types in the VS and FS
are different
If no body has issues with these two patches I'd like to push them later
this week.
Iago
On Tue, 2015-07-28 at 13:52 +0200, Iago Toral Quiroga wrote:
Default ES precision qualifiers for integer types in the VS and FS
are different and that should make the test fail to compile/link
if Mesa
On Mon, 2015-08-03 at 19:10 +1000, Timothy Arceri wrote:
On Sun, 2015-08-02 at 10:25 -0400, Ilia Mirkin wrote:
On Sun, Aug 2, 2015 at 8:04 AM, Timothy Arceri t_arc...@yahoo.com.au
wrote:
---
.../fs-simple-inc-dec-read.shader_test | 109
+
1 file
Scissored or masked clears might be done with a meta operation that
draws a quad. Now check for those cases too.
These cases plus some of the original ones all fail with gallium.
---
.../occlusion_query_meta_no_fragments.c| 41 --
1 file changed, 39
Plain glClear is seldom a meta operation, but scissored clears are
implemented by drawing a quad in gallium. Now the test tries both
to check that glClear doesn't effect the occlusion query count.
---
.../occlusion_query_meta_save.c| 29 ++
1 file changed,
On Sun, Aug 02, 2015 at 12:32:29PM -0700, Jordan Justen wrote:
On 2015-08-02 09:57:00, Dylan Baker wrote:
On Aug 2, 2015 00:45, Jordan Justen jordan.l.jus...@intel.com wrote:
If xz is present, and the piglit command's output is redirected, then
xz will think its output is
19 matches
Mail list logo