export MALLOC_PERTURB_ and MALLOC_CHECK_ in test suite
That enables an special implementation that checks for common memory errors and will save us from a lot pain.
This commit is contained in:
parent
c2417da842
commit
95f0f75477
@ -37,6 +37,8 @@ LD_LIBRARY_PATH=../src/share/replaygain_synthesis/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../src/share/utf8/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../obj/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_==$(($RANDOM % 255 + 1))
|
||||
PATH=../src/flac:$PATH
|
||||
PATH=../obj/$BUILD/bin:$PATH
|
||||
BINS_PATH=../../test_files/bins
|
||||
|
@ -51,6 +51,8 @@ LD_LIBRARY_PATH=`pwd`/../src/share/replaygain_synthesis/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=`pwd`/../src/share/utf8/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=`pwd`/../obj/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
||||
PATH=`pwd`/../src/flac:$PATH
|
||||
PATH=`pwd`/../src/metaflac:$PATH
|
||||
PATH=`pwd`/../src/test_streams:$PATH
|
||||
|
@ -34,6 +34,8 @@ LD_LIBRARY_PATH=../src/share/grabbag/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../src/share/replaygain_analysis/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../obj/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
||||
PATH=../src/test_grabbag/cuesheet:$PATH
|
||||
PATH=../src/test_grabbag/picture:$PATH
|
||||
PATH=../obj/$BUILD/bin:$PATH
|
||||
|
@ -35,6 +35,8 @@ LD_LIBRARY_PATH=../src/share/grabbag/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../src/share/replaygain_analysis/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../obj/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
||||
PATH=../src/test_libFLAC++:$PATH
|
||||
PATH=../obj/$BUILD/bin:$PATH
|
||||
|
||||
|
@ -34,6 +34,9 @@ LD_LIBRARY_PATH=../src/share/grabbag/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../src/share/replaygain_analysis/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../obj/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
||||
|
||||
PATH=../src/test_libFLAC:$PATH
|
||||
PATH=../obj/$BUILD/bin:$PATH
|
||||
|
||||
|
@ -46,6 +46,8 @@ LD_LIBRARY_PATH=`pwd`/../src/share/replaygain_synthesis/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=`pwd`/../src/share/utf8/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=`pwd`/../obj/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
||||
PATH=`pwd`/../src/flac:$PATH
|
||||
PATH=`pwd`/../src/metaflac:$PATH
|
||||
PATH=`pwd`/../obj/$BUILD/bin:$PATH
|
||||
|
@ -32,6 +32,8 @@ fi
|
||||
LD_LIBRARY_PATH=../src/libFLAC/.libs:$LD_LIBRARY_PATH
|
||||
LD_LIBRARY_PATH=../obj/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
||||
PATH=../src/flac:$PATH
|
||||
PATH=../src/metaflac:$PATH
|
||||
PATH=../src/test_seeking:$PATH
|
||||
|
@ -31,6 +31,8 @@ fi
|
||||
|
||||
LD_LIBRARY_PATH=../obj/$BUILD/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
export MALLOC_CHECK_=3
|
||||
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
||||
PATH=../src/flac:$PATH
|
||||
PATH=../src/test_streams:$PATH
|
||||
PATH=../obj/$BUILD/bin:$PATH
|
||||
|
Loading…
Reference in New Issue
Block a user