Skip to content

Commit

Permalink
Fix "make test" on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Aug 22, 2006
1 parent 36dffb8 commit 3fd1e9c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run-tests.php
Expand Up @@ -1330,9 +1330,10 @@ function run_test($php, $file, $env)
}

if ($leak_check) {
$cmd = "USE_ZEND_ALLOC=0 valgrind -q --tool=memcheck --trace-children=yes --log-file-exactly=$memcheck_filename $cmd";
$env['USE_ZEND_ALLOC'] = '0';
$cmd = "valgrind -q --tool=memcheck --trace-children=yes --log-file-exactly=$memcheck_filename $cmd";
} else {
$cmd = "USE_ZEND_ALLOC=1 ".$cmd;
$env['USE_ZEND_ALLOC'] = '1';
}

if ($DETAILED) echo "
Expand Down

0 comments on commit 3fd1e9c

Please sign in to comment.