Subject: [Git][archlinux/packaging/packages/uutils-coreutils][main] upgpkg: 0.0.29-2: enable tests

From: Orhun Parmaksız (@orhun) <[email-masked]>
Date: Fri, 28 Feb 2025 15:11:14 +0000

Orhun Parmaksız pushed to branch main at Arch Linux / Packaging / Packages / uutils-coreutils

Commits:
99bbe510 by Orhun Parmaksız at 2025-02-28T18:10:37+03:00
upgpkg: 0.0.29-2: enable tests

- - - - -

2 changed files:

- .SRCINFO
- PKGBUILD

Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = uutils-coreutils
 	pkgdesc = Cross-platform Rust rewrite of the GNU coreutils
 	pkgver = 0.0.29
-	pkgrel = 1
+	pkgrel = 2
 	url = https://uutils.github.io/
 	arch = x86_64
 	license = MIT

=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 _pkgname=coreutils
 pkgname=uutils-$_pkgname
 pkgver=0.0.29
-pkgrel=1
+pkgrel=2
 pkgdesc='Cross-platform Rust rewrite of the GNU coreutils'
 arch=('x86_64')
 url='https://uutils.github.io/'
@@ -29,29 +29,29 @@ build() {
   make PROFILE=release
 }
 
-# https://github.com/uutils/coreutils/issues/4946
-# check() {
-#   cd $_pkgname-$pkgver
-#
-#   make test \
-#       PROFILE=release \
-#       CARGOFLAGS=--release \
-#       TEST_NO_FAIL_FAST="--no-fail-fast -- \
-#         --skip test_chown::test_big_p \
-#         --skip test_chgrp::test_big_p \
-#         --skip test_chgrp::test_big_h"
-# }
+check() {
+  cd $_pkgname-$pkgver
+
+  make test \
+    PROFILE=release \
+    CARGOFLAGS=--release \
+    TEST_NO_FAIL_FAST="--no-fail-fast -- \
+        --skip test_chown::test_big_p \
+        --skip test_chgrp::test_big_p \
+        --skip test_chgrp::test_big_h \
+        --skip test_who::test_boot"
+}
 
 package() {
   cd $_pkgname-$pkgver
 
   make install \
-      DESTDIR="$pkgdir" \
-      PREFIX=/usr \
-      MANDIR=/share/man/man1 \
-      PROG_PREFIX=uu- \
-      PROFILE=release \
-      MULTICALL=y
+    DESTDIR="$pkgdir" \
+    PREFIX=/usr \
+    MANDIR=/share/man/man1 \
+    PROG_PREFIX=uu- \
+    PROFILE=release \
+    MULTICALL=y
 
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }

View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/uutils-coreutils/-/commit/99bbe51030b6c067509fc513a6888e83dc5480ce

-- 
View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/uutils-coreutils/-/commit/99bbe51030b6c067509fc513a6888e83dc5480ce
You're receiving this email because of your account on gitlab.archlinux.org.