Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
containerd


Commits:
c484c4ee by Felix Yan at 2024-11-12T13:28:55+08:00
Re-enable check()

The tests are passing now with "ps" present in PATH.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -11,6 +11,7 @@ pkgdesc='An open and reliable container runtime'
 url='https://containerd.io/'
 depends=('runc')
 makedepends=('go' 'git' 'btrfs-progs' 'libseccomp' 'containers-common' 
'go-md2man')
+checkdepends=('procps-ng')
 provides=('container-runtime')
 arch=('x86_64')
 license=("Apache-2.0")
@@ -32,9 +33,8 @@ build() {
 }
 
 check() {
-  cd "${pkgname}" 
-  # Ugly, but they are trying to do priviledged operations during testing
-  GOFLAGS="-trimpath" make test || true
+  cd "${pkgname}"
+  GOFLAGS="-trimpath" make test
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/containerd/-/commit/c484c4eefa64919b4710b8a82f3ba2c3da804e27

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


Reply via email to