diff options
Diffstat (limited to 'solenv/bin/unittest-failed.sh')
-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 b49ddd765536..277c908a6345 100755 --- a/solenv/bin/unittest-failed.sh +++ b/solenv/bin/unittest-failed.sh @@ -22,9 +22,21 @@ 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 +EOF +if [ "$3" == "WNT" ]; then +cat << EOF export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio +EOF +elif [ "$3" == "MACOSX" ]; then +cat << EOF export CPPUNITTRACE="lldb --" # for interactive debugging on OSX +EOF +else +cat << EOF +export CPPUNITTRACE="gdb --args" # for interactive debugging on Linux +EOF +fi +cat << EOF export VALGRIND=memcheck # for memory checking and retry using: make $1Test_$2 |