From b96cb849b06230bbae39067411674e6ea3016a46 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 18 Mar 2019 00:05:08 -0700 Subject: testing/samurai: remove check() There is no provided test suite. The `build.ninja` is meant to be an alternative build mechanism and requires modification to set desired compile and link flags. So, running `./samu` in check() will rebuild itself before packaging, but without the CFLAGS and LDFLAGS set by abuild, resulting in an unoptimized binary. --- testing/samurai/APKBUILD | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/testing/samurai/APKBUILD b/testing/samurai/APKBUILD index fa51ea9a6da..61c44fd2dee 100644 --- a/testing/samurai/APKBUILD +++ b/testing/samurai/APKBUILD @@ -7,6 +7,7 @@ pkgdesc="ninja-compatible build tool written in C" url="https://github.com/michaelforney/samurai" arch="all" license="Apache-2.0" +options="!check" # No test suite. subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/michaelforney/$pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" @@ -16,12 +17,6 @@ build() { make } -check() { - cd "$builddir" - rm *.o - ./samu -} - package() { cd "$builddir" make install PREFIX="/usr" DESTDIR="$pkgdir" -- cgit v1.2.3