From 0d58bfe80474cfc69e8651a66c8519d334950ad8 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Mon, 19 Jun 2017 22:34:54 +0200 Subject: main/cmocka: rerun failed tests again in extra-verbose mode --- main/cmocka/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main/cmocka/APKBUILD') diff --git a/main/cmocka/APKBUILD b/main/cmocka/APKBUILD index d419d03b73..836a8efdff 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() { -- cgit v1.2.3