aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-06-19 22:34:54 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-06-19 22:34:54 +0200
commit0d58bfe80474cfc69e8651a66c8519d334950ad8 (patch)
treecb4f43317f4e15f0d37b51621d01f5ea11eaecd1
parent3e2d0674c454f5437da9ae8cf79d486e23764578 (diff)
downloadaports-0d58bfe80474cfc69e8651a66c8519d334950ad8.tar.bz2
main/cmocka: rerun failed tests again in extra-verbose mode
-rw-r--r--main/cmocka/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/cmocka/APKBUILD b/main/cmocka/APKBUILD
index d419d03..836a8ef 100644
--- a/main/cmocka/APKBUILD
+++ b/main/cmocka/APKBUILD
@@ -38,7 +38,10 @@ build() {
}
check() {
- make -C "$builddir"/build test
+ cd "$builddir"/build
+
+ # If some tests fail, run them again in verbose mode.
+ make test || ctest --rerun-failed --extra-verbose
}
package() {