dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't initialize dmalloc variables when not needed.
[gedcom-parse.git]
/
t
/
src
/
test_gom
diff --git
a/t/src/test_gom
b/t/src/test_gom
index 108f4981f2f7421b4a335c5b317cd4d4b69039fd..5c20bba336392ebd385a736d6ba71e08198d6f35 100755
(executable)
--- a/
t/src/test_gom
+++ b/
t/src/test_gom
@@
-4,8
+4,6
@@
options="-q"
extra_options=
options="-q"
extra_options=
-dmalloc=`which dmalloc`
-dmalloc_tmp=dmalloc.env
while [ $# -gt 0 ]
do
while [ $# -gt 0 ]
do
@@
-58,6
+56,8
@@
if [ "$GOM_DMALLOC_TEST" = "" ]
then
$ltcmd $GEDCOM_TESTENV $builddir/src/gomtest $options $testfile
else
then
$ltcmd $GEDCOM_TESTENV $builddir/src/gomtest $options $testfile
else
+ dmalloc=`which dmalloc`
+ dmalloc_tmp=dmalloc.env
$dmalloc -b -l $GOM_DMALLOC_TEST -i 100 low > $dmalloc_tmp
. $dmalloc_tmp
rm $dmalloc_tmp
$dmalloc -b -l $GOM_DMALLOC_TEST -i 100 low > $dmalloc_tmp
. $dmalloc_tmp
rm $dmalloc_tmp