systemd/dbus-broker: skip tests on all archs except x86_64
Some tests under qemu take >10minutes each and time out. x86_64 is the only arch that's native in gitlab CI AND bpo, so only run tests if on that arch. Signed-off-by: Clayton Craft <craftyguy@postmarketos.org> [ci:skip-build]: already built successfully in CI (except aarch64, because runners are broken currently) Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8246>
This commit is contained in:
@@ -3,7 +3,7 @@ maintainer="Clayton Craft <clayton@craftyguy.net>"
|
||||
pkgname=dbus-broker
|
||||
_pkgver=37
|
||||
pkgver=9999$_pkgver
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Linux D-Bus Message Broker"
|
||||
url="https://github.com/bus1/dbus-broker"
|
||||
# armhf: no systemd
|
||||
@@ -23,13 +23,11 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
# Some tests timeout on these archs, since they run in qemu, even when the
|
||||
# timeout is >10minutes per test
|
||||
# Some tests timeout when run under qemu, so only run tests if we're on x86_64
|
||||
# since we know this is a "native" arch in gitlab CI and bpo
|
||||
case "$CARCH" in
|
||||
armv7|riscv64) return;;
|
||||
x86_64) meson test --print-errorlogs -C build;;
|
||||
esac
|
||||
|
||||
meson test --print-errorlogs -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Reference in New Issue
Block a user