Skip to content
Snippets Groups Projects
Commit b19b22fd authored by mio's avatar mio Committed by Celeste
Browse files

community/libkexiv2-kf5: disable check due to no tests

The `tests/` directory compiles some executables to `build/bin/` but
they do not appear to be part of an automated test suite. No sample
files are provided with the executables to run tests.

Disable check to avoid `No tests were found!!!` error causing build
failure with abuild 3.14.0.

Ref: #16519
parent b6268b32
No related branches found
No related tags found
1 merge request!74304community/libkexiv2-kf5: disable check due to no tests
Pipeline #269971 skipped
......@@ -20,19 +20,18 @@ subpackages="$pkgname-dev"
_repo_url="https://invent.kde.org/graphics/libkexiv2.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/libkexiv2-$pkgver.tar.xz"
builddir="$srcdir/libkexiv2-$pkgver"
options="!check" # no automated tests
build() {
# Disable BUILD_TESTING, unusable test files
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
......
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