summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2014-02-06Fix a bad error message in an EGL test.Eric Anholt1-1/+1
2014-02-06Add missing '\n's to wgl test errors.Eric Anholt1-2/+2
Like some of the other missing '\n's, I'd originally used errx(), then just done a sed job to fprintf when I found that win32 lacked errx().
2014-02-06Add a test that khrplatform.h (if present) agrees with us.Eric Anholt5-0/+189
2014-02-01List X11_LIBS after lib{egl,glx}_common.Matt Turner1-10/+10
Fixes linking with --as-needed.
2014-02-01Use LDADD instead of LDFLAGS/DEPENDENCIES.Matt Turner1-22/+13
This is a lot shorter to type, and still gets the dependencies to work (tested with touch src/dispatch_common.c; make check, and touch src/egl_common.c; make check).
2014-01-31Enable compiler warnings in the tests.Eric Anholt1-0/+2
2014-01-31Fix compiler warnings in the tests.Eric Anholt5-16/+23
I didn't have CWARNFLAGS in the Makefile.am, so lots of things that would generate warnings had crept in.
2014-01-31Fix using epoxy on systems with only EGL and GLES1 or GLES2.Eric Anholt1-2/+0
Fixes #19
2014-01-31Test for using GLES1/2 without GLX installed.Eric Anholt3-0/+132
2014-01-22Make headerguards check for double-inclusion of our own headers.Eric Anholt1-0/+4
Since I was touching these bits, it was easy enough to make sure that our header guards work on our own headers.
2013-12-16Fix copyrights on the Makefile.ams.Eric Anholt1-16/+17
When initially writing the Makefiles, I started from a Makefile.am that had ajax's copyright instead of an Intel one. The only line I can see that's left from the original Makefile.am is "pkgconfigdir" in the root Makefile.am.
2013-12-16Fix testsuite build on OS X.Eric Anholt1-1/+5
There's no linker flag of this name in the normal clang, presumably beause the linker feature doesn't exist.
2013-12-15Abandon ifuncs and go with the traditional global function pointers.Eric Anholt1-2/+0
In addition to the failing testcase, there were a couple of regressions in piglit's attribs test: one from glBegin_unwrapped vs glBegin confusion in the __asm__ directives we were generating, and one where the function pointers apparently were just getting mixed up at application runtime.
2013-12-13Fix the behavior of glx_shared_znow if it doesn't die at startup.Eric Anholt2-0/+3
We're sharing the source file with glx_static, but we don't want to SKIP due to not being statically linked.
2013-12-13Add a test showing a way that our ifuncs are broken.Eric Anholt2-0/+8
2013-12-13Relink tests when the library changes.Eric Anholt1-8/+8
For the dynamically-linked tests, it wasn't a big deal because the updated library was always picked up. But for glx_static, we were actually testing stale code.
2013-12-11Fix the build of the headerguards test on OS X.Eric Anholt1-0/+5
2013-12-11Fix signedness warning on OS X build of the testsuite.Eric Anholt1-1/+1
2013-12-11Fix compiler warning in glx_static.Eric Anholt1-0/+1
2013-12-11Make glx_static report skip if it was built non-static.Eric Anholt1-0/+5
It won't have that symbol, unless it happens to be linked against the full library.
2013-12-11Add a testcase for trying to use libepoxy as a static library.Eric Anholt3-0/+67
Note that it will only actually link statically against epoxy if you've set --enable-static.
2013-12-10Add a test for basic functionality on win32.Eric Anholt5-0/+256
2013-12-06Port tests directory to win32.Eric Anholt1-2/+2
2013-12-06Conditionalize building GLX and EGL tests and headers.Eric Anholt3-6/+40
Note that the generated code is still generated, they just aren't built and installed. The goal with that is that someone could take the built .c and .h files and drop it into their own project, if they want to avoid shared libs.
2013-12-06Fix out of tree buildEric Anholt1-0/+1
2013-12-06Add a compile-time test for missing #defines.Eric Anholt3-0/+63
2013-12-05Fix calling new entrypoints from within glBegin()/glEnd().Eric Anholt1-2/+0
2013-12-05Add a test for a bug when called during glBegin()/glEnd().Eric Anholt3-0/+114
2013-12-05Fix extension detection on core GL contexts.Eric Anholt1-2/+0
The nasty old strings were deprecated.
2013-12-05Add a new test for our public API against a core context.Eric Anholt5-3/+183
Our extension detection for core is totally broken.
2013-12-05Pull a helper function from piglit.Eric Anholt2-1/+29
I need this for doing testing against core contexts.
2013-12-05Add missing .gitignore bits for EGLEric Anholt1-0/+1
2013-12-05Add support for EGL.Eric Anholt5-1/+161
This totally replaces the getprocaddress and dlsym code, which was basically just stubs up until now. The is_glx/is_egl() is also dropped -- they weren't doing anything, and the only false answer they could give is if the dlopen were to fail.
2013-12-05Add .gitignore for the built tests.Eric Anholt1-0/+6
2013-12-04Fix a similar bug to HEAD~2, this time in epoxy_has_glx_extension().Eric Anholt3-6/+4
2013-12-04Add a failing testcase for the public API of epoxy_has_glx_extension.Eric Anholt2-0/+62
2013-12-04Fix bug in public entrypoint for epoxy_glx_version()Eric Anholt3-4/+2
Unfortunately, for GLX 1.4+ entrypoints (just glxGetProcAddress currently) or extensions, if there isn't a context bound then we don't have a dpy and screen available to provide useful debug messages. Oh well.
2013-12-04Add a testcase for a bug in the public API.Eric Anholt2-0/+62
2013-12-04Add a test for including system GL headers after epoxy.Eric Anholt2-1/+37
2013-12-04Add a little more testing of our public GLX API.Eric Anholt1-0/+20
2013-11-14Add an initial testsuite for GLX API.Eric Anholt4-0/+280