diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-02-02 19:08:59 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-02-02 19:08:59 +0100 |
commit | 7d2e1c208ddf22decb0b3ca4d97ca50a9b95ad61 (patch) | |
tree | b82199f9940f4050be86d3076552bae9dd141fed /solenv/bin | |
parent | 93ef9a43a53218bdfbdea2ec20fba73fef08db75 (diff) |
Split the message.
Change-Id: Ib565f92b9e195a871a56d2fb95c3ef373e93da9c
Diffstat (limited to 'solenv/bin')
-rwxr-xr-x | solenv/bin/unittest-failed.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/solenv/bin/unittest-failed.sh b/solenv/bin/unittest-failed.sh index 305c0802228d..0ba83e451015 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: |