it's a good idea to make sure the dependency trees are properly set to
where all utilities are based on what is found in the noapi (piglitutil)
debugger.
---
tests/util/CMakeLists.gl.txt|4
tests/util/CMakeLists.gles1.txt |1 +
tests/util/CMakeLists.gles2.txt |1 +
tests/util/
Sometimes a user just wants to be able to painlessly get a visual on what
crashed.
---
framework/summary.py |9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/framework/summary.py b/framework/summary.py
index f5af627..0105bf0 100644
--- a/framework/summary.py
+++ b/fr
sighandler-none.c
new file mode 100644
index 000..9b98976
--- /dev/null
+++ b/tests/util/piglit-sighandler/piglit-sighandler-none.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright © 2013 Kenney Phillis
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and
Another library set that does not directly link gainst piglitutil.
---
tests/hiz/CMakeLists.gl.txt |1 +
1 file changed, 1 insertion(+)
diff --git a/tests/hiz/CMakeLists.gl.txt b/tests/hiz/CMakeLists.gl.txt
index d1615fc..7005880 100644
--- a/tests/hiz/CMakeLists.gl.txt
+++ b/tests/hiz/CMakeL
001):
Under the Hood: New Vectored Exception Handling in Windows XP
http://msdn.microsoft.com/en-us/magazine/cc301714.aspx
[2] GLFW - An OpenGL Library
http://www.glfw.org/
Kenney Phillis (13):
util: add PIGLIT_CRASH to the list of valid results.
cmake: link OpenGL and OpenGL ES utility lib
---
tests/glx/glx-close-display.c |3 +++
tests/glx/glx-copy-sub-buffer.c|2 ++
tests/glx/glx-destroycontext-1.c |4 +++-
tests/glx/glx-destroycontext-2.c |2 ++
tests/glx/glx-dont-care-mask.c |2 ++
tests/glx/glx-fbconfi
The find_package(PythonInterp) for cmake version 2.8.6 and newer is
capable of properly handling multiple versions of python. This is
extremely useful on mixed systems where a person may have Python2 and
Python3 installed side by side.
---
CMakeLists.txt | 27 ++-
1 file
---
tests/egl/egl-create-surface.c |2 ++
tests/egl/egl-nok-swap-region.c |2 ++
tests/egl/egl-nok-texture-from-pixmap.c |2 ++
tests/egl/egl-query-surface.c |2 ++
4 files changed, 8 insertions(+)
diff --git a/tests/egl/egl-create-surface.c b/tests/egl/
Add Crash to the list of reports possible for programs using the piglit
utility library.
---
tests/util/piglit-util.c |5 +
tests/util/piglit-util.h |3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/util/piglit-util.c b/tests/util/piglit-util.c
index 9b7a351..
The signal handler in general is really important for platforms like
windows where a program will generate some dialog automatically when
running a program.
---
tests/util/piglit-framework-gl.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/tests/util/piglit-framework-gl.h b/tes
Static glfw is to simplify platforms that do not have good support
for waffle. To make use of this feature, Simply download the latest
GLFW release ( for example 3.0.3 ) and follow the next steps.
1) decompress the source release.
2) rename the source release folder to glfw.
3) verify the file lay
2013 Kenney Phillis
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, mod
GLFW also works on linux so allow proper fallback handling of tests.
This means Waffle to GLFW to GLUT.
---
CMakeLists.txt | 56 +++-
1 file changed, 27 insertions(+), 29 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3dd488f.
l/piglit-framework-gl/piglit_glfw_framework.c
new file mode 100644
index 000..ab2ded8
--- /dev/null
+++ b/tests/util/piglit-framework-gl/piglit_glfw_framework.c
@@ -0,0 +1,407 @@
+/*
+ * Copyright © 2013 Kenney Phillis
+ *
+ * Permission is hereby granted, free of charge, to any person obtain
The default handling of Extension fall backs does not work in specific
cases where the list of supported extensions changes. The list of
extensions for a Core profile may be different from the same
context created using a Compatibility profile.
V2: applied the changes suggested by Chad to improve
Implements reinitialization on waffle based contexts to allow context
fallbacks to work as intended.
v2: applied the changes that Chad suggested.
---
.../piglit-framework-gl/piglit_wfl_framework.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/util/piglit-framework-gl/piglit_w
Files with the extension ".cl" are usually used for OpenCL and
this installs all .cl files that are in the generated_tests
folder when either making a package or actually installing the
tests on a system.
---
CMakeLists.txt |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMa
This is an Automatically generated file that is not used by any
test and only appears during build.
---
CMakeLists.txt |1 +
1 file changed, 1 insertion(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 775b25a..f064b35 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -319,6 +319,7 @@
Increase the Minimum version of CMake that is required from
version 2.6 to version 2.8. This is because the minimum requirement
to compile waffle is version 2.8
---
CMakeLists.txt |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f064b35..
*.geom files are the shader files used for testing geometry
shaders.
---
CMakeLists.txt |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c86ffe5..8404d9a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -312,13 +312,13 @@ install (
This fixes compile problems on various systems where strndup
can be found but the HAVE_STRNDUP define is not being set.
V2: Made the changes that Petri Latvala suggested. However the
exact line for the define of HAVE_STRNDUP needed to be
placed next to the other function defines in config.
When building and installing out of source tree the generated
tests are not installed. This commit fixes that.
---
CMakeLists.txt |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a39d9df..c86ffe5 100644
--- a/CMakeLists.txt
+++ b/CMakeLis
Cmake fix 1: Fix problems involving out of tree builds
cmake fix 2: fix some missing files from installer.
config.h.in: applied a slightly more correct location
for the HAVE_STRNDUP define.
tests/util fixes: Updated changelog from previous commit.
Kenney Phillis (8):
cmake: fix out of tree
There is no guarantee that cmake will blindly pass all of the defines
to the preprocessor.
---
tests/util/CMakeLists.txt |5 +
1 file changed, 5 insertions(+)
diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt
index 8f1420c..1b09437 100644
--- a/tests/util/CMakeLists.txt
+
The default handling of Extension fall backs does not work in specific
cases where the list of supported extensions changes. The list of
extensions for a Core profile may be different from the same
context created using a Compatibility profile.
---
tests/util/piglit-util-gl-common.c |8 +++
Implements reinitialization on waffle based contexts to allow context
fallbacks to work as intended.
---
.../piglit-framework-gl/piglit_wfl_framework.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/util/piglit-framework-gl/piglit_wfl_framework.c
b/tests/util/piglit-framework-
When context creation fails, Inform piglit to reinitialize the
list of supported extensions.
---
.../piglit-framework-gl/piglit_wfl_framework.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/util/piglit-framework-gl/piglit_wfl_framework.c
b/tests/util/piglit-framework-gl/pigli
The default handling of the extensions does not allow for proper
fall back of contexts to work as inteded. There is currently no
guarantee that any implementations of OpenGL will have the pointer
of supported extensions will remain constant after contexts change.
---
tests/util/piglit-util-gl-comm
sometimes errors can sneak in when generating the context and
interfere with the test. This clears out all errors before the
actual test begins.
---
tests/fbo/fbo-storage-formats.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fbo/fbo-storage-for
Applied some of the Suggested improvements to the previous patch set.
Kenney Phillis (5):
fbo-storage-formats: Fix reporting of invalid formats.
fbo-storage-formats: enable tests for OpenGl 3.0 formats.
fbo-storage-formats:minor improvements to error detection.
piglit-util-gl-common: Add
Currently Invalid formats is reported from the formats data structure.
This is incorrect because the invalid formats set should not use this
system.
---
tests/fbo/fbo-storage-formats.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fb
Enable the Floating point and Interformats that are introduced in the
OpenGL 3.0 specification. Currently the test uses an OpenGL 3.1
Core context for Mesa based drivers, and this test should also work
just fine when Compatibility contexts support Opengl 3.1 or newer.
---
tests/fbo/fbo-storage-for
Fixes problems with path resolution when files change location.
NOTE: This patch is probably not be PEP8 Compliant.
---
framework/summary.py |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/framework/summary.py b/framework/summary.py
index 35500bf..3929fd1 100644
---
The default handling of Extension fall backs does not work in specific
cases where the list of supported extensions changes. The list of
extensions for a Core profile may be different from the same
context created using a Compatibility profile.
---
tests/util/piglit-util-gl-common.c |8 +++
A couple of minor improvements in handling OpenGL Context fallback and
how to determine feature support in fbo-storage-formats.
Kenney Phillis (4):
piglit-util-gl-common: Add Function to clear extensions list.
util/waffle: reinitialize extensions
fbo-storage-formats: Fix reporting of
Implements reinitialization on waffle based contexts to allow context
fallbacks to work as intended.
---
.../piglit-framework-gl/piglit_wfl_framework.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/util/piglit-framework-gl/piglit_wfl_framework.c
b/tests/util/piglit-framework-
This enabled the Floating point and Integer formats introduced in OpenGL 3.0.
This currently uses an OpenGL 3.1 Core context to enable this for Mesa based
drivers, however the test should work without any faults on any drivers that
also support Compatibility contexts that are OpenGl 3.0 or newer.
-
Currently Invalid formats is reported from the formats data structure.
This is incorrect because the invalid formats set should not use this
system.
---
tests/fbo/fbo-storage-formats.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/fbo/fbo-storage-formats.c b/tests/fb
This has two main improvements that can be seen.
1) Relative paths can be used in lists files. This works great since it means
that simpler scripts can be used to generate the list file itself.
2) Relative paths can be specified at all stages and it will not cause the
scripts to break
---
framewor
Path resolution should always be a resolved from relative path to absolute path.
This is to allow for distributed testing where you build a single copy of
piglit and then redistribute it over a network.
---
piglit-run.py |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/pig
A small set of fixes that are essential for distributed testing. This is
important for when you are Building piglit once and then distributing the
build over a network to multiple computers for serious regression testing.
Kenney Phillis (2):
piglit-run.py: Fix Path resolution
framework
This fixes resume failures when paths are interpreted as unicode when the
script expects ascii.
---
framework/shader_test.py |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/framework/shader_test.py b/framework/shader_test.py
index 03478fc..f3920f9 100755
--- a/framewor
Fixes resolution of relative paths to absolute paths. This will help keep
piglit from crashing out when resume path is not within source path. This
happens regularly when using distributed testing.
---
piglit-run.py |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/piglit-ru
This is extremely useful for distributed testing where the test results are not
in the same folder as piglit is. This happens regularly when piglit is
installed through packages and then ran in the user home directory.
---
tests/all.tests |1 +
tests/external-glslparser.tests
*** BLURB HERE ***
Kenney Phillis (3):
Add the shell script identifiers to the tests.
Fix piglit resume path resolving.
make some parts of the piglit framework unicode aware.
framework/shader_test.py|5 +++--
piglit-run.py |2 +-
tests/all.tests
---
tests/all.tests |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/all.tests b/tests/all.tests
index 869fb03..04eb81f 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -4,6 +4,7 @@
import itertools
import os
import os.path as path
+import platform
from fr
---
CMakeLists.txt |3 +++
1 file changed, 3 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index effa8d8..806b56f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -176,10 +176,13 @@ else (APPLE)
)
endif (APPLE)
+check_include_file(EGL/egl.h OPENGL_egl_HEADER)
+if(O
---
tests/quick-driver.tests |1 +
tests/quick.tests|2 ++
tests/r300.tests |1 +
tests/r500.tests |1 +
tests/r600.tests |1 +
5 files changed, 6 insertions(+)
diff --git a/tests/quick-driver.tests b/tests/quick-driver.tests
index 73bee46..4dfd
---
tests/all.tests |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/all.tests b/tests/all.tests
index 5670478..01b914d 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -4,6 +4,7 @@
import itertools
import os
import os.path as path
+import sys
from framewo
---
piglit-run.py |1 +
1 file changed, 1 insertion(+)
diff --git a/piglit-run.py b/piglit-run.py
index e24cf2a..a3b2a09 100755
--- a/piglit-run.py
+++ b/piglit-run.py
@@ -186,6 +186,7 @@ def main():
# from being run again.
if OptionResume:
for (key, value) in
---
framework/glsl_parser_test.py |4
1 file changed, 4 insertions(+)
diff --git a/framework/glsl_parser_test.py b/framework/glsl_parser_test.py
index 0d97986..f346531 100755
--- a/framework/glsl_parser_test.py
+++ b/framework/glsl_parser_test.py
@@ -33,6 +33,7 @@ usage_message = "usage:
I noticed that there was a few issues when comparing how piglet ran on
windows and other platforms. These patches improve the overall quality
of the tests ran, and also allows simpler results comparisions when
comparing a windows based system and a linux based system.
Kenney Phillis (4):
Fixed
52 matches
Mail list logo