Commit graph

3 commits

Author SHA1 Message Date
Kyle Brenneman 97c4909a61 tests: Skip testglxqueryversion if the server doesn't support GLX.
testglxqueryversion will now call XQueryExtension to check whether the server
supports the GLX extension. If it doesn't, then it will skip the test instead
of reporting it as a failure.

https://github.com/NVIDIA/libglvnd/issues/93
2016-10-28 19:27:31 -06:00
Aaron Plattner 7063d84d02 [tests] remove unused 'str' variable
testglxqueryversion.c: In function 'main':
 testglxqueryversion.c:39:17: warning: unused variable 'str' [-Wunused-variable]

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2013-09-26 23:26:22 -07:00
Brian Nguyen 9eec93a6f8 [tests] Add testglxqueryversion subtest
This verifies that the GLX API library's hand-coded implementation
of glXQueryVersion() works as expected.
2013-08-26 11:03:43 -07:00