aboutsummaryrefslogtreecommitdiffstats
path: root/community/libwacom/disable-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libwacom/disable-tests.patch')
-rw-r--r--community/libwacom/disable-tests.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/community/libwacom/disable-tests.patch b/community/libwacom/disable-tests.patch
index ac6afca382..2c1b37bf6d 100644
--- a/community/libwacom/disable-tests.patch
+++ b/community/libwacom/disable-tests.patch
@@ -2,14 +2,13 @@ Upstream: Not Applicable
Reason: Remove test that fails
diff --git a/meson.build b/meson.build
-index 1482fa5..86c665b 100644
+index 6a38b36..814ae55 100644
--- a/meson.build
+++ b/meson.build
-@@ -253,22 +253,6 @@ if get_option('tests').enabled()
- else
+@@ -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.
@@ -25,6 +24,7 @@ index 1482fa5..86c665b 100644
- env:['LD_LIBRARY_PATH=@0@'.format(meson.build_root())],
- suite: ['all'])
- endif
- endif
-
- # This is a non-optional test
+-
+ if meson.version().version_compare('>= 0.51.0')
+ python = import('python')
+ python.find_installation(modules: ['libevdev', 'pyudev', 'pytest'])