add debug and memcheck options
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@7652 94700074-3cef-4d97-a70e-9c8c206c02f5
This commit is contained in:
@@ -16,6 +16,18 @@ run_program() {
|
||||
$builddir/libtool --mode=execute "$builddir/src/$program/$program" $@
|
||||
}
|
||||
|
||||
debug_program() {
|
||||
program="$1"
|
||||
shift
|
||||
$builddir/libtool --mode=execute gdb --args "$programs/$program" $@
|
||||
}
|
||||
|
||||
memcheck_program() {
|
||||
program="$1"
|
||||
shift
|
||||
$builddir/libtool --mode=execute valgrind --leak-check=full "$programs/$program" $@
|
||||
}
|
||||
|
||||
pass() {
|
||||
title="$1"
|
||||
echo "$title PASSED"
|
||||
|
||||
Reference in New Issue
Block a user