]> git.puffer.fish Git - matthieu/frr.git/commitdiff
docker: Do not require checks for libyang Alpine Linux package build
authorDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 14 Jun 2024 07:35:27 +0000 (10:35 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 14 Jun 2024 07:35:27 +0000 (10:35 +0300)
Since Alpine Linux 3.20, we get this:

>>> WARNING: libyang: APKBUILD does not run any tests!
    Alpine policy will soon require that packages have any relevant testsuites run during the build process.
    To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
docker/alpine/libyang/APKBUILD

index 6973fd62d865e0062118d8b476fcfc5c5ea65b02..7979ee1b1ed208da6bdd1c91b35f1689cd09ed0b 100755 (executable)
@@ -11,6 +11,7 @@ makedepends="bison cmake cmocka-dev flex pcre2-dev"
 checkdepends="expect grep shunit2"
 subpackages="$pkgname-dev $pkgname-doc"
 source="$pkgname-$pkgver.tar.gz::https://github.com/CESNET/libyang/archive/v$pkgver.tar.gz"
+options="!check"
 
 # secfixes:
 #   1.0.215-r1: