mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 06:17:14 +02:00
community/ptex: run tests in parallel
This commit is contained in:
parent
d93e0c6938
commit
fc1fe7f0f1
@ -5,12 +5,14 @@ pkgver=2.4.3
|
|||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="texture mapping system by Walt Disney Animation Studios"
|
pkgdesc="texture mapping system by Walt Disney Animation Studios"
|
||||||
url="https://ptex.us/"
|
url="https://ptex.us/"
|
||||||
arch="all !s390x" # ptex doesn't like big endian
|
# s390x: no big-endian support
|
||||||
|
arch="all !s390x"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
makedepends="cmake doxygen graphviz samurai zlib-dev"
|
makedepends="cmake doxygen graphviz samurai zlib-dev"
|
||||||
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-tools:tools"
|
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-tools:tools"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/wdas/ptex/archive/v$pkgver.tar.gz
|
source="$pkgname-$pkgver.tar.gz::https://github.com/wdas/ptex/archive/v$pkgver.tar.gz
|
||||||
0001-fix-soversion.patch
|
0001-fix-soversion.patch
|
||||||
|
parallel-tests.patch
|
||||||
"
|
"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -25,7 +27,7 @@ build() {
|
|||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd build
|
cd build
|
||||||
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -j1
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
@ -41,4 +43,5 @@ tools() {
|
|||||||
sha512sums="
|
sha512sums="
|
||||||
34fcaf1c4fe27cb4e66d66bb729137ef17ffeea2bc2d849f2f5f543b19acc250f425633142320ce797c2a086e04bc3e0870c94928ad45d94e34faee71af36890 ptex-2.4.3.tar.gz
|
34fcaf1c4fe27cb4e66d66bb729137ef17ffeea2bc2d849f2f5f543b19acc250f425633142320ce797c2a086e04bc3e0870c94928ad45d94e34faee71af36890 ptex-2.4.3.tar.gz
|
||||||
5c82637192986e3dace72e70f8aa539aacc29da5c4c29359616140070b77af2eaa906bad93a793e60baecdb1bd135ca76984451240c071ce2f9133ecc0495a03 0001-fix-soversion.patch
|
5c82637192986e3dace72e70f8aa539aacc29da5c4c29359616140070b77af2eaa906bad93a793e60baecdb1bd135ca76984451240c071ce2f9133ecc0495a03 0001-fix-soversion.patch
|
||||||
|
25a3e964cfe85a564a713331594456457cab731c3ed5b305621d30ac79c7f4fb005c309118aeaacc37ad521522c37472db60505384b0187c818786007eafb7ff parallel-tests.patch
|
||||||
"
|
"
|
||||||
|
11
community/ptex/parallel-tests.patch
Normal file
11
community/ptex/parallel-tests.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
|
||||||
|
index 36950a7..c6ecb05 100644
|
||||||
|
--- a/src/tests/CMakeLists.txt
|
||||||
|
+++ b/src/tests/CMakeLists.txt
|
||||||
|
@@ -27,3 +27,6 @@ add_test(NAME wtest COMMAND wtest)
|
||||||
|
add_compare_test(rtest)
|
||||||
|
add_compare_test(ftest)
|
||||||
|
add_test(NAME halftest COMMAND halftest)
|
||||||
|
+
|
||||||
|
+set_tests_properties(rtest PROPERTIES DEPENDS wtest)
|
||||||
|
+set_tests_properties(ftest PROPERTIES DEPENDS wtest)
|
Loading…
Reference in New Issue
Block a user