aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/egl-entrypoint-check
blob: e20b374454c8517491dc9d49c4265f3f8a5b3cf8 (plain)
1
2
3
4
5
6
#!/usr/bin/env bash
set -e

entrypoints=$(grep EGL_ENTRYPOINT "$srcdir"/main/eglentrypoint.h)
sorted=$(sort <<< "$entrypoints")
test "$entrypoints" = "$sorted"