Commit c0dafee8 authored by eseidel's avatar eseidel
Browse files

Bug #: 4613

Submitted by: eseidel
Reviewed by: darin
        * Scripts/run-webkit-tests: added --guard-malloc option
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4613


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2ef6a595
2005-09-19 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: added --guard-malloc option
http://bugzilla.opendarwin.org/show_bug.cgi?id=4613
2005-09-16 Justin Garcia <justin.garcia@apple.com>
Reviewed by geoff
......
......@@ -59,6 +59,7 @@ chdirWebKit();
my $testSVGs = '';
my $pixelTests = '';
my $checkLeaks = '';
my $guardMalloc = '';
my $maxWidth = '';
my $maxHeight = '';
my $verbose = 0;
......@@ -68,6 +69,7 @@ my $singly = 0;
GetOptions('svg' => \$testSVGs,
'pixel-tests|p' => \$pixelTests,
'leaks|l' => \$checkLeaks,
'guard-malloc|g' => \$guardMalloc,
'max-width|w' => \$maxWidth,
'max-height|h' => \$maxHeight,
'verbose|v' => \$verbose,
......@@ -172,6 +174,7 @@ for my $test (@tests) {
local %ENV;
$ENV{DYLD_FRAMEWORK_PATH} = $productDir;
$ENV{MallocStackLogging} = 1 if $checkLeaks;
$ENV{DYLD_INSERT_LIBRARIES} = "/usr/lib/libgmalloc.dylib" if $guardMalloc;
$dumpToolPID = open2(\*IN, \*OUT, $tool, @toolArgs) or die;
$toolOpen = 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment