Commit graph

7 commits

Author SHA1 Message Date
Dylan Baker b308a876d3 autotools: Include meson.build and meson_options.txt in dist 2019-12-05 12:01:36 -08:00
Kyle Brenneman 77c4c27e0b tests: Fix some missing libraries.
Fixed some missing static libraries for the EGL dummy vendor library.

Added Xlib to the GLX dummy library.

Added the --no-undefined flag for both of the dummy vendor libraries.
2019-11-22 15:03:30 -07:00
Kyle Brenneman ca0de36630 Add configure options for the EGL, GLX, and GLES libraries.
Added three new configure options to disable building the EGL, GLX, GLES
libraries.

In the tests makefile, move the list of test scripts to separate unconditional
variables, and add those to EXTRA_DIST. Just conditionally adding variables to
TESTS isn't enough to include the test scripts in the dist package.
2016-12-13 15:45:26 -07:00
Kyle Brenneman 152ba20ff1 tests: Clean up tests makefile.
Split up the TESTS and check_PROGRAMS variable assignments, so that they're
assigned next to the commands to build each test.

In addition to better readability and making it easier to avoid merge
conflicts, this will allow making some of the tests conditional based on build
options.
2016-12-13 15:36:31 -07:00
Kyle Brenneman 3e7bba599f tests: Add a basic test for eglGetPlatformDisplay.
Added two dummy libraries for EGL. They both use the same code, but each one
has a name string that can be used to check which vendor something is
dispatched to.

The dummy library is still incomplete, but more functions will be add later
along with more tests.

The test just creates an EGLDisplay using a dummy platform type, and then
checks to make sure that the display dispatches to the correct vendor library.

Also added a script to set up the test environment, and a file for common
functions and variables for EGL tests.
2016-11-02 16:37:55 -06:00
Kyle Brenneman dbfaa50bd8 tests: Move the entrypoint patching code into a helper library.
Moved the code for testing entrypoint patching into a helper library so that
it can be used for more than just GLX.
2016-10-17 11:12:21 -06:00
Kyle Brenneman 6bc8902de8 tests: Rename GLX_dummy directory.
Rename the GLX_dummy directory to just "dummy", since the code in it will be
used for non-GLX tests.
2016-10-17 11:12:21 -06:00
Renamed from tests/GLX_dummy/Makefile.am (Browse further)