From 51048f573a818686d1df35a29f1643f9d8a22b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Mon, 7 Dec 2020 20:15:12 -0300 Subject: [PATCH] libaom: split tests by duration. --- srcpkgs/libaom/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/libaom/template b/srcpkgs/libaom/template index 93f1983edf..657301c730 100644 --- a/srcpkgs/libaom/template +++ b/srcpkgs/libaom/template @@ -1,6 +1,6 @@ # Template file for 'libaom' pkgname=libaom -version=2.0.0 +version=2.0.1 revision=1 create_wrksrc=yes build_style=cmake @@ -12,7 +12,7 @@ license="BSD-2-Clause" homepage="https://aomedia.org/" changelog="https://aomedia.googlesource.com/aom/+/master/CHANGELOG" distfiles="https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz" -checksum=@4e8a74ed7e05d5534ab0b72735fa670ce1a1e757bc4a777f07fdabf8629fced1 +checksum=@b89acd3304531a9f6c99eba13e1de66605893ff8d08abc8c6e0586481a90033a # aom segfaults with default musl stack size LDFLAGS="-Wl,-z,stack-size=2097152" @@ -29,14 +29,18 @@ if [ -z "$XBPS_CHECK_PKGS" ]; then fi pre_check() { - mkdir -p /host/libaom-test-data export LIBAOM_TEST_DATA_PATH=/host/libaom-test-data + mkdir -p $LIBAOM_TEST_DATA_PATH } do_check() { cd build - make runtests ${makejobs} + make testdata ${makejobs} ../test/examples.sh --bin-path examples + + if [ "$XBPS_CHECK_PKGS" = full ]; then + make runtests ${makejobs} + fi } post_install() {