diff options
Diffstat (limited to 'main/fstrm/APKBUILD')
-rw-r--r-- | main/fstrm/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/fstrm/APKBUILD b/main/fstrm/APKBUILD index 4a1ba80b734..94de5dfb089 100644 --- a/main/fstrm/APKBUILD +++ b/main/fstrm/APKBUILD @@ -11,6 +11,7 @@ arch="all" license="MIT" depends="" depends_dev="libevent-dev" +checkdepends="findutils" makedepends="$depends_dev" install="" subpackages="$pkgname-dev $pkgname-doc" @@ -29,10 +30,16 @@ build() { make } +_cat_found_file() { + local _rc="$?" + find -name "$1" -type f -ls -printf '%P {{{\n' -exec cat -v -n '{}' ';' -printf '}}} %P\n' + return "$_rc" +} + check() { cd "$builddir" - make check + make check || _cat_found_file 'test-suite.log' } package() { |