summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/debian/0002-meson-nose2.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/debian/0002-meson-nose2.patch b/debian/patches/debian/0002-meson-nose2.patch
index 914f5a3..4929c6a 100644
--- a/debian/patches/debian/0002-meson-nose2.patch
+++ b/debian/patches/debian/0002-meson-nose2.patch
@@ -11,5 +11,5 @@ diff -Naurp nvme-cli.orig/tests/meson.build nvme-cli/tests/meson.build
-runtests = find_program('nose2', required : false)
+runtests = find_program('nose2-3', required : false)
- if runtests.found()
- foreach file : infra + tests
+ if meson.version().version_compare('>= 0.56')
+ nvmecli_path = meson.project_build_root()