Kaydet (Commit) 98b3680f authored tarafından Jan Holesovsky's avatar Jan Holesovsky

DEBUGCPPUNIT makes no sense on Windows and OS X.

üst d2a89914
...@@ -17,18 +17,20 @@ ...@@ -17,18 +17,20 @@
# except in compliance with the License. You may obtain a copy of # except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 . # the License at http://www.apache.org/licenses/LICENSE-2.0 .
ECHECKING='export DEBUGCPPUNIT=TRUE # for exception catching' ECHECKING=
DEBUGGING= DEBUGGING=
MCHECKING='export VALGRIND=memcheck # for memory checking' MCHECKING=
if [ "$3" = "WNT" ]; then if [ "$3" = "WNT" ]; then
ECHECKING='export DEBUGCPPUNIT=TRUE # for exception catching'
DEBUGGING='export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio' DEBUGGING='export CPPUNITTRACE="\"[full path to devenv.exe]\" /debugexe" # for interactive debugging in Visual Studio'
MCHECKING='export CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first)' MCHECKING='export CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first)'
elif [ "$3" = "MACOSX" ]; then elif [ "$3" = "MACOSX" ]; then
DEBUGGING='export CPPUNITTRACE="lldb --" # for interactive debugging on OS X' DEBUGGING='export CPPUNITTRACE="lldb --" # for interactive debugging on OS X'
MCHECKING='export VALGRIND=memcheck # for memory checking'
else else
ECHECKING='export DEBUGCPPUNIT=TRUE # for exception catching'
DEBUGGING='export CPPUNITTRACE="gdb --args" # for interactive debugging on Linux' DEBUGGING='export CPPUNITTRACE="gdb --args" # for interactive debugging on Linux'
MCHECKING='export VALGRIND=memcheck # for memory checking'
fi fi
# print the actual error message # print the actual error message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment