diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-13 13:01:22 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-13 13:01:22 -0800 |
commit | 5c4f73fa7f4b680977d5b1fcced28107cccc3a7e (patch) | |
tree | 331f92d224f1e90a76688cf67d1e810f13dbb875 /test | |
parent | acd3b38d6e2314a5070a408dd6f310e91f4958a4 (diff) | |
download | libepoxy-5c4f73fa7f4b680977d5b1fcced28107cccc3a7e.tar.gz |
Add a test showing a way that our ifuncs are broken.
Diffstat (limited to 'test')
-rw-r--r-- | test/.gitignore | 1 | ||||
-rw-r--r-- | test/Makefile.am | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/.gitignore b/test/.gitignore index 436831f..b3e8334 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -4,6 +4,7 @@ glx_glxgetprocaddress_nocontext glx_has_extension_nocontext glx_public_api glx_public_api_core +glx_shared_znow glx_static headerguards miscdefines diff --git a/test/Makefile.am b/test/Makefile.am index 64b255d..43be8e5 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -73,6 +73,7 @@ GLX_TESTS = \ glx_glxgetprocaddress_nocontext \ glx_has_extension_nocontext \ glx_static \ + glx_shared_znow \ $() GLX_LIBS = libglx_common.la @@ -86,6 +87,8 @@ WGL_TESTS = \ WGL_LIBS = libwgl_common.la endif +XFAIL_TESTS = glx_shared_znow + egl_has_extension_nocontext_LDFLAGS = $(X11_LIBS) $(EPOXY) libegl_common.la egl_has_extension_nocontext_DEPENDENCIES = $(EPOXY) libegl_common.la @@ -107,5 +110,9 @@ glx_has_extension_nocontext_DEPENDENCIES = $(EPOXY) libglx_common.la glx_static_LDFLAGS = -ldl $(X11_LIBS) -static $(EPOXY) libglx_common.la glx_static_DEPENDENCIES = $(EPOXY) libglx_common.la +glx_shared_znow_SOURCES = glx_static.c +glx_shared_znow_LDFLAGS = -ldl $(X11_LIBS) -z now $(EPOXY) libglx_common.la +glx_shared_znow_DEPENDENCIES = $(EPOXY) libglx_common.la + wgl_core_and_exts_LDFLAGS = $(EPOXY) libwgl_common.la -lgdi32 wgl_core_and_exts_DEPENDENCIES = $(EPOXY) libwgl_common.la |