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
/
testeglmakecurrent.sh
6 lines
63 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 eglMakeCurrent. Add a test for switching between different contexts across multiple vendors. The new test also checks libEGL's recovery when a vendor's eglMakeCurrent fails. The EGL dummy vendor will now keep track of the current context, so that we can test whether eglMakeCurrent calls get passed through correctly. Also added a command to force an eglMakeCurrent call to fail, and to fetch the the current context from directly from a vendor library.
2016-10-26 21:02:28 +02: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/eglenv.sh
tests: Add a test for eglMakeCurrent. Add a test for switching between different contexts across multiple vendors. The new test also checks libEGL's recovery when a vendor's eglMakeCurrent fails. The EGL dummy vendor will now keep track of the current context, so that we can test whether eglMakeCurrent calls get passed through correctly. Also added a command to force an eglMakeCurrent call to fail, and to fetch the the current context from directly from a vendor library.
2016-10-26 21:02:28 +02:00
./testeglmakecurrent
Reference in a new issue
Copy permalink