Skip to content
Snippets Groups Projects
Commit 22311c6c authored by Sertonix's avatar Sertonix Committed by Bart Ribbers
Browse files

community/valhalla: correct test command and disable tests

parent d1f85c66
No related branches found
No related tags found
1 merge request!81138community/valhalla: correct test command and disable tests
Pipeline #306107 skipped
......@@ -23,12 +23,15 @@ depends_dev="
makedepends="$depends_dev
cmake
"
checkdepends="bash"
subpackages="$pkgname-dev $pkgname-doc"
source="https://dev.alpinelinux.org/archive/valhalla/valhalla-$pkgver.tar.gz
0001-libvalhalla-configuring.patch
gcc13.patch
"
builddir="$srcdir/$pkgname"
# check: localedef: command not found
options="!check"
_disturl="dev.alpinelinux.org:/archive/$pkgname/"
......@@ -62,7 +65,7 @@ build() {
-DENABLE_SANITIZERS=OFF \
-DENABLE_ADDRESS_SANITIZER=OFF \
-DENABLE_UNDEFINED_SANITIZER=OFF \
-DENABLE_TESTS=ON \
-DENABLE_TESTS="$(want_check && echo ON || echo OFF)" \
-DENABLE_SINGLE_FILES_WERROR=OFF \
-DENABLE_BENCHMARKS=OFF \
-DENABLE_THREAD_SAFE_TILE_REF_COUNT=OFF \
......@@ -71,8 +74,7 @@ build() {
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
cmake --build build --target check
}
package() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment