Permalink
Browse files

Change test script to allow valgrind.

  • Loading branch information...
RestlessRodent committed Jan 25, 2017
1 parent 6bd61e2 commit 5b3ee709839d3fa48ddf9e11cfc9d45858f07f08
Showing with 11 additions and 1 deletion.
  1. +11 −1 test.sh
View
12 test.sh
@@ -104,7 +104,17 @@ fi
if make "JAVA_INCLUDE=$__ji" \
"JAVA_LIB=$__jl" DEBUG=1
then
$(if which gdb > /dev/null; then echo "gdb --args"; fi) \
if [ "$DEBUG_COMMAND" = "" ]
then
if which gdb > /dev/null
then
DEBUG_COMMAND="gdb --args"
else
DEBUG_COMMAND="time"
fi
fi
$DEBUG_COMMAND \
java $JVM_OPTIONS "-Dorg.remood.remood.wadpath=$DOOMWADPATH" \
-jar "remood.jar" -waddir bin/ -nomouse -devparm $*
fi

0 comments on commit 5b3ee70

Please sign in to comment.