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'
|
# Template file for 'libaom'
|
||||||
pkgname=libaom
|
pkgname=libaom
|
||||||
version=2.0.0
|
version=2.0.1
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -12,7 +12,7 @@ license="BSD-2-Clause"
|
||||||
homepage="https://aomedia.org/"
|
homepage="https://aomedia.org/"
|
||||||
changelog="https://aomedia.googlesource.com/aom/+/master/CHANGELOG"
|
changelog="https://aomedia.googlesource.com/aom/+/master/CHANGELOG"
|
||||||
distfiles="https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz"
|
distfiles="https://aomedia.googlesource.com/aom/+archive/v${version}.tar.gz"
|
||||||
checksum=@4e8a74ed7e05d5534ab0b72735fa670ce1a1e757bc4a777f07fdabf8629fced1
|
checksum=@b89acd3304531a9f6c99eba13e1de66605893ff8d08abc8c6e0586481a90033a
|
||||||
|
|
||||||
# aom segfaults with default musl stack size
|
# aom segfaults with default musl stack size
|
||||||
LDFLAGS="-Wl,-z,stack-size=2097152"
|
LDFLAGS="-Wl,-z,stack-size=2097152"
|
||||||
|
@ -29,14 +29,18 @@ if [ -z "$XBPS_CHECK_PKGS" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
mkdir -p /host/libaom-test-data
|
|
||||||
export LIBAOM_TEST_DATA_PATH=/host/libaom-test-data
|
export LIBAOM_TEST_DATA_PATH=/host/libaom-test-data
|
||||||
|
mkdir -p $LIBAOM_TEST_DATA_PATH
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
cd build
|
cd build
|
||||||
make runtests ${makejobs}
|
make testdata ${makejobs}
|
||||||
../test/examples.sh --bin-path examples
|
../test/examples.sh --bin-path examples
|
||||||
|
|
||||||
|
if [ "$XBPS_CHECK_PKGS" = full ]; then
|
||||||
|
make runtests ${makejobs}
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Reference in a new issue