]> git.cworth.org Git - fips/commit
test: Reduce code duplication in test-suite programs
authorCarl Worth <cworth@cworth.org>
Thu, 27 Jun 2013 22:20:45 +0000 (15:20 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 27 Jun 2013 22:20:45 +0000 (15:20 -0700)
commit8fa551a77e6586167ee9ad4d331411aecc36af84
treec9f063f4394b658fa43c03119cd436db87f42878
parente3e2309eccbd742a868986e8bef75db48510155d
test: Reduce code duplication in test-suite programs

All of the test suite programs previously had their own copies of
common drawing code. Now, this code is put into a shared
handle-events.c. Each test program includes handle-events and can
provide its own prefix for called OpenGL functions by first defining
HANDLE_EVENTS_GL_PREFIX.
test/glx-dlopen-dlsym.c
test/glx-dlopen-gpa.c
test/glx-dlopen-gpaa.c
test/glx-link-call.c
test/handle-events.c [new file with mode: 0644]