Source: fuse3 Version: 3.9.0-2 Severity: normal Tags: patch Hello,
There are two issues with the current tests. 1) the tests are not run in the correct directory, they should be run in the build directory 2) On linux all the tests are skipped because the fuse module is not loaded on the build, on kfreebsd the tests fail the same reason. I'm attaching a patch that make sure the tests are run form the correct directory and make them non fatal. Kind regards, Laurent Bigonville -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.5.0-1-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru fuse3-3.9.0/debian/control fuse3-3.9.0/debian/control --- fuse3-3.9.0/debian/control 2020-02-13 17:06:09.000000000 +0100 +++ fuse3-3.9.0/debian/control 2020-04-13 13:06:29.000000000 +0200 @@ -7,8 +7,8 @@ pkg-config, meson, udev, - python3, - python3-pytest + python3 <!nocheck>, + python3-pytest <!nocheck> Standards-Version: 4.5.0 Homepage: https://github.com/libfuse/libfuse/wiki diff -Nru fuse3-3.9.0/debian/rules fuse3-3.9.0/debian/rules --- fuse3-3.9.0/debian/rules 2019-09-01 08:15:20.000000000 +0200 +++ fuse3-3.9.0/debian/rules 2020-04-13 13:06:29.000000000 +0200 @@ -11,11 +11,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all -override_dh_auto_clean: - dh_auto_clean - rm -rf $(CURDIR)/test/__pycache__/ - rm -rf $(CURDIR)/test/.pytest_cache/ - override_dh_auto_configure: dh_auto_configure -- -D default_library=both @@ -48,7 +43,7 @@ override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) - python3 -m pytest test/ + (cd obj-${DEB_HOST_GNU_TYPE}; python3 -m pytest test/) || true endif override_dh_link:

