libaom: split tests by duration.
This commit is contained in:
parent
d946fe791d
commit
51048f573a
1 changed files with 8 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue