diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-01-18 14:24:09 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-01-25 12:28:29 +0000 |
commit | 6b68ddeaa04d2eebae79a148738bfe619c58f088 (patch) | |
tree | b370841774f60462ac09b4337f0fc816e79d327d /test | |
parent | 2aec628eb015b85ab08650289277de2af2b2efc4 (diff) | |
download | libepoxy-6b68ddeaa04d2eebae79a148738bfe619c58f088.tar.gz |
build: Skip GLESv1 tests if there's no GLESv1
It's pretty much pointless to build and run tests for a library that we
know is not available.
The Meson build already skips the GLES 1.0 test, so let's make the
Autotools build do the same.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index adc7830..5781702 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -74,10 +74,13 @@ if BUILD_EGL EGL_TESTS = \ egl_has_extension_nocontext \ egl_gl \ - egl_gles1_without_glx \ egl_gles2_without_glx \ $() +if HAS_GLES1 +EGL_TESTS += egl_gles1_without_glx +endif + EGL_UTIL_LIB = libegl_common.la endif |