diff options
| author | Alan Conway <aconway@apache.org> | 2008-06-04 15:08:13 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-06-04 15:08:13 +0000 |
| commit | 38dff548132dd614a2eff96903c6f57ae09d30b6 (patch) | |
| tree | b8936ec46a6a630be13046f0e27779d85db477d1 /qpid/cpp/src/tests/run_test | |
| parent | 5871150cac2a3a93dbcd9f9721771d6128c6d3ae (diff) | |
| download | qpid-python-38dff548132dd614a2eff96903c6f57ae09d30b6.tar.gz | |
Avoid use of valgrind --log-file-exactly flag, removed in valgrind 3.3
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@663158 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/run_test')
| -rwxr-xr-x | qpid/cpp/src/tests/run_test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/tests/run_test b/qpid/cpp/src/tests/run_test index 2280e96301..08bf845ba1 100755 --- a/qpid/cpp/src/tests/run_test +++ b/qpid/cpp/src/tests/run_test @@ -31,14 +31,14 @@ test -z "$LC_COLLATE" && export LC_COLLATE= test -z "$LC_MESSAGES" && export LC_MESSAGES= VG_LOG="$1.vglog" -rm -f $VG_LOG +rm -f $VG_LOG* if grep -l "^# Generated by .*libtool" "$1" >/dev/null 2>&1; then # This is a libtool "executable". Valgrind it if VALGRIND specified. - test -n "$VALGRIND" && VALGRIND="$VALGRIND --log-file-exactly=$VG_LOG --" + test -n "$VALGRIND" && VALGRIND="$VALGRIND --log-file=$VG_LOG --" # Hide output unless there's an error. libtool --mode=execute $VALGRIND "$@" 2>&1 || ERROR=$? - test -n "$VALGRIND" && vg_check + test -n "$VALGRIND" && vg_check $VG_LOG* else # This is a non-libtool shell script, just execute it. export VALGRIND srcdir @@ -47,7 +47,7 @@ fi if test -z "$ERROR"; then # Clean up logs if there was no error. - rm -f $VG_LOG + rm -f $VG_LOG* exit 0 else exit $ERROR |
