diff --git a/srcpkgs/attr/template b/srcpkgs/attr/template index 0b660f8b19e..96e8fab8508 100644 --- a/srcpkgs/attr/template +++ b/srcpkgs/attr/template @@ -12,15 +12,23 @@ homepage="http://savannah.nongnu.org/projects/attr" license="LGPL-2.1" distfiles="${NONGNU_SITE}/attr/attr-${version}.src.tar.gz" checksum=25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859 +make_check_args="-j1" # Tests broken when ran in parallel +make_check_target="tests" if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then configure_args="--libdir=/usr/lib32 --libexecdir=/usr/lib32" fi -do_check() { +pre_check() { sed -i 's:{(:\\{(:' test/run - make -j1 tests + # Either the test wasn't updated or the package misconfigures/miscompiles + # the error message in musl based systems + # EXPECTED: Operation not supported + # RECIEVED: Not supported + case "$XBPS_TARGET_MACHINE" in + *-musl* ) sed -i 's|f: Operation n|f: N|g' test/attr.test ;; + esac } do_install() {