aboutsummaryrefslogtreecommitdiffstats
path: root/community/libwacom/disable-tests.patch
blob: ac6afca382c1d5f871801724caf542566767f839 (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 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