Tobias Powalowski pushed to branch main at Arch Linux / Packaging / Packages /
btrfs-progs
Commits:
1ffe6767 by Tobias Powalowski at 2024-08-31T08:40:03+02:00
reformat PKGBUILD, replace check routine with testsuite
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -27,6 +27,11 @@ depends=(
zlib
zstd
)
+checkdepends=(
+ libaio
+ liburing
+ ripgrep
+)
optdepends=(
'python: libbtrfsutil python bindings'
'e2fsprogs: btrfs-convert'
@@ -73,7 +78,10 @@ build() {
check() {
cd "${pkgname}"
- ./btrfs filesystem show
+ # remove all tests, which requires real root
+ rm -r $(dirname $(rg -t sh -l -e SUDO_HELPER -e mount -e prepare_test) | rg
'tests/')
+ # -j1 for running tests chronological
+ make -j1 -C tests test
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/btrfs-progs/-/commit/1ffe6767d00c2e26b9956144d95064f01306e02a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/btrfs-progs/-/commit/1ffe6767d00c2e26b9956144d95064f01306e02a
You're receiving this email because of your account on gitlab.archlinux.org.