This website requires JavaScript.
Explore
Help
Sign In
picnoir
/
libglvnd
Watch
1
Star
0
Fork
You've already forked libglvnd
0
Code
Issues
Pull requests
Packages
Projects
Releases
Wiki
Activity
c1fde19814
libglvnd
/
tests
/
testglxcreatecontext.sh
6 lines
65 B
Bash
Raw
Normal View
History
Unescape
Escape
Use sh instead of bash for the test scripts. Not all systems have bash available, and in those that do, we can't assume that it's located at /bin/bash.
2018-03-08 19:43:49 +01:00
#!/bin/sh
tests: Add a test for creating GLX contexts. Add a new test, testglxcreatecontext to test the various functions for creating GLX contexts. It tests the core GLX functions, the GLX_ARB_create_context and GLX_EXT_no_config_context extensions, and using a vendor-provided extension function. The new test is much simpler than trying to use testglxmakecurrent to test both context creation and MakeCurrent, especially for trying to test multiple context creation functions.
2017-12-06 20:22:49 +01:00
Use sh instead of bash for the test scripts. Not all systems have bash available, and in those that do, we can't assume that it's located at /bin/bash.
2018-03-08 19:43:49 +01:00
.
$TOP_SRCDIR
/tests/glxenv.sh
tests: Add a test for creating GLX contexts. Add a new test, testglxcreatecontext to test the various functions for creating GLX contexts. It tests the core GLX functions, the GLX_ARB_create_context and GLX_EXT_no_config_context extensions, and using a vendor-provided extension function. The new test is much simpler than trying to use testglxmakecurrent to test both context creation and MakeCurrent, especially for trying to test multiple context creation functions.
2017-12-06 20:22:49 +01:00
./testglxcreatecontext
Reference in a new issue
Copy permalink