[Libreoffice-commits] core.git: solenv/gbuild

Jan Holesovsky kendy at collabora.com
Fri Oct 13 15:50:55 UTC 2017


 solenv/gbuild/platform/unittest-failed-default.sh |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 3ea6d0620d34c14950c5b1a25af801efd7fde492
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Oct 13 12:43:28 2017 +0200

    When the unit test fails, mention how to run just that exact test.
    
    Idea that appeared during the Stephan's talk - thanks! :-)
    
    Change-Id: Icc0b8454fde8a28f87236425d9df213959d5349c
    Reviewed-on: https://gerrit.libreoffice.org/43368
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/solenv/gbuild/platform/unittest-failed-default.sh b/solenv/gbuild/platform/unittest-failed-default.sh
index 5e6b40f41265..2ec0c40fe92d 100755
--- a/solenv/gbuild/platform/unittest-failed-default.sh
+++ b/solenv/gbuild/platform/unittest-failed-default.sh
@@ -19,6 +19,7 @@
 cat << EOF
 
 Error: a unit test failed, please do one of:
+
 make $1Test_$2 CPPUNITTRACE="gdb --args"
     # for interactive debugging on Linux
 make $1Test_$2 VALGRIND=memcheck
@@ -26,6 +27,10 @@ make $1Test_$2 VALGRIND=memcheck
 make $1Test_$2 DEBUGCPPUNIT=TRUE
     # for exception catching
 
+You can limit the execution to just one particular test by:
+
+make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...
+
 EOF
 
 exit 1


More information about the Libreoffice-commits mailing list