aboutsummaryrefslogtreecommitdiffstats
path: root/testing/samurai
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-03-18 00:05:08 -0700
committerprspkt <prspkt@protonmail.com>2019-03-22 01:17:07 +0200
commitb96cb849b06230bbae39067411674e6ea3016a46 (patch)
tree26824038c97aa6310950957bdbe452197f2b92d6 /testing/samurai
parenta471a45fe80be7b234d10ce66af37aeed53b904f (diff)
downloadaports-b96cb849b06230bbae39067411674e6ea3016a46.tar.bz2
aports-b96cb849b06230bbae39067411674e6ea3016a46.tar.xz
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.
Diffstat (limited to 'testing/samurai')
-rw-r--r--testing/samurai/APKBUILD7
1 files changed, 1 insertions, 6 deletions
diff --git a/testing/samurai/APKBUILD b/testing/samurai/APKBUILD
index fa51ea9a6d..61c44fd2de 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"