solenv/gbuild/platform/unittest-failed-default.sh | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 3ea6d0620d34c14950c5b1a25af801efd7fde492 Author: Jan Holesovsky <ke...@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 <c...@libreoffice.org> Reviewed-by: Jan Holesovsky <ke...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits