aports/community/libwacom/disable-tests.patch
2020-09-07 01:25:06 -03:00

31 lines
925 B
Diff

Upstream: Not Applicable
Reason: Remove test that fails
diff --git a/meson.build b/meson.build
index 1482fa5..86c665b 100644
--- a/meson.build
+++ b/meson.build
@@ -253,22 +253,6 @@ if get_option('tests').enabled()
else
message('valgrind not found, disabling valgrind test suite')
endif
-
- # because of the tricks we use in calling the function and exposing
- # it to begin with, LTO gets confused and this fails to link.
- # Let's just disable it here.
- if not get_option('b_lto')
- test_deprecated = executable('test-deprecated',
- 'test/test-deprecated.c',
- dependencies: [dep_libwacom, dep_dl],
- include_directories: [includes_src],
- c_args: tests_cflags,
- install: false)
- test('test-deprecated',
- test_deprecated,
- env:['LD_LIBRARY_PATH=@0@'.format(meson.build_root())],
- suite: ['all'])
- endif
endif
# This is a non-optional test