aboutsummaryrefslogtreecommitdiffstats
path: root/community/libwacom/disable-tests.patch
blob: 2c1b37bf6d5c92cad1e46e4970510c5713aa85c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Upstream: Not Applicable
Reason: Remove test that fails

diff --git a/meson.build b/meson.build
index 6a38b36..814ae55 100644
--- a/meson.build
+++ b/meson.build
@@ -256,22 +256,6 @@ if get_option('tests').enabled()
 		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
-
 	if meson.version().version_compare('>= 0.51.0')
 		python = import('python')
 		python.find_installation(modules: ['libevdev', 'pyudev', 'pytest'])