aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-27 15:51:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-27 15:51:03 +0000
commit289a42f050447ab7d0ec0d9c276e867a37be2430 (patch)
tree7bd20c99ba7d1fe0abe884931cfb9d8523b477ee /tests
parentade1e79b376dd614c883682bd2e4b296bd596aa1 (diff)
Make the debug build get the debug dump file path from the environment
variable to allow the test suite to better control where it ends up.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 90e247293..e26da06c9 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -78,7 +78,7 @@ my $perl="perl -I$srcdir";
my $curl_debug=0;
# name of the file that the memory debugging creates:
-my $memdump="memdump";
+my $memdump="$LOGDIR/memdump";
# the path to the script that analyzes the memory debug output file:
my $memanalyze="./memanalyze.pl";
@@ -135,7 +135,7 @@ my $tortalloc;
chomp($pwd = `pwd`);
# enable memory debugging if curl is compiled with it
-$ENV{'CURL_MEMDEBUG'} = 1;
+$ENV{'CURL_MEMDEBUG'} = $memdump;
$ENV{'HOME'}=$pwd;
##########################################################################