From a24b5e689719a86e0bbb9377cf16b3ccfc79291d Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Sat, 28 Oct 2017 13:41:33 +0000 Subject: testing/googler: add check function As upstream doesn't provide a suite test, run --help to test if the binary works. --- testing/googler/APKBUILD | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testing/googler') diff --git a/testing/googler/APKBUILD b/testing/googler/APKBUILD index c498c76ab9..b1297babbb 100644 --- a/testing/googler/APKBUILD +++ b/testing/googler/APKBUILD @@ -17,6 +17,11 @@ build() { make disable-self-upgrade } +check() { + cd "$builddir" + googler --help > /dev/null +} + package() { cd "$builddir" make install DESTDIR="$pkgdir" PREFIX=/usr -- cgit v1.2.3