diff options
author | tcely <tcely@users.noreply.github.com> | 2019-04-25 19:34:39 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-30 12:38:37 +0000 |
commit | df67a9bc17caec324b57eb4a624c3aa826a1eb7a (patch) | |
tree | f4e58d465a7ba591772aaece1d2eb97becfd004a /main/fstrm | |
parent | 40322d160592f508e08a2375827e188f44c435d8 (diff) | |
download | aports-df67a9bc17caec324b57eb4a624c3aa826a1eb7a.zip |
main/fstrm: cat test-suite.log
Diffstat (limited to 'main/fstrm')
-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() { |