Skip to content
Snippets Groups Projects
Commit d6f8a861 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/snapcast: enable unit tests

parent 39cef475
No related branches found
No related tags found
1 merge request!21453community/snapcast: enable unit tests
...@@ -19,7 +19,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/badaix/snapcast/archive/v$pk ...@@ -19,7 +19,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/badaix/snapcast/archive/v$pk
$pkgname-server.initd $pkgname-server.initd
$pkgname-server.confd $pkgname-server.confd
" "
options="!check" # No testsuite
build() { build() {
cmake -B build \ cmake -B build \
...@@ -29,16 +28,15 @@ build() { ...@@ -29,16 +28,15 @@ build() {
-DBUILD_WITH_VORBIS=ON \ -DBUILD_WITH_VORBIS=ON \
-DBUILD_WITH_OPUS=ON \ -DBUILD_WITH_OPUS=ON \
-DBUILD_WITH_AVAHI=ON -DBUILD_WITH_AVAHI=ON
make -C build cmake --build build
} }
check() { check() {
cd build bin/snapcast_test
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
} }
package() { package() {
DESTDIR="$pkgdir" make -C build install DESTDIR="$pkgdir" cmake --install build
} }
client() { client() {
......
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