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

Jan Holesovsky kendy at collabora.com
Sun Feb 2 10:09:32 PST 2014


 solenv/bin/unittest-failed.sh |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

New commits:
commit 7d2e1c208ddf22decb0b3ca4d97ca50a9b95ad61
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Sun Feb 2 19:08:59 2014 +0100

    Split the message.
    
    Change-Id: Ib565f92b9e195a871a56d2fb95c3ef373e93da9c

diff --git a/solenv/bin/unittest-failed.sh b/solenv/bin/unittest-failed.sh
index 305c080..0ba83e4 100755
--- a/solenv/bin/unittest-failed.sh
+++ b/solenv/bin/unittest-failed.sh
@@ -17,7 +17,19 @@
 #   except in compliance with the License. You may obtain a copy of
 #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 
-printf '\nError: a unit test failed, please do one of:\n\nexport DEBUGCPPUNIT=TRUE            # for exception catching\nexport CPPUNITTRACE="gdb --args" # for interactive debugging on Linux\nexport CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio\nexport VALGRIND=memcheck            # for memory checking\n\nand retry using: make %sTest_%s\n\n' $1 $2
+cat << EOF
+
+Error: a unit test failed, please do one of:
+
+export DEBUGCPPUNIT=TRUE            # for exception catching
+export CPPUNITTRACE="gdb --args"    # for interactive debugging on Linux
+export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio
+export VALGRIND=memcheck            # for memory checking
+
+and retry using: make $1Test_$2
+
+EOF
+
 exit 1
 
 # vim: set et sw=4:


More information about the Libreoffice-commits mailing list