| Index: Source/platform/heap/RunAllTests.cpp
|
| diff --git a/Source/platform/heap/RunAllTests.cpp b/Source/platform/heap/RunAllTests.cpp
|
| index 6c74b241fd914f91413aec8bc8655c6d6f33ccb7..ce79b2b8063cf02d1a7879adabe09ec48f06a123 100644
|
| --- a/Source/platform/heap/RunAllTests.cpp
|
| +++ b/Source/platform/heap/RunAllTests.cpp
|
| @@ -57,7 +57,9 @@ public:
|
| int runHelper(TestSuite* testSuite)
|
| {
|
| BlinkTestEnvironmentScope blinkTestEnvironment;
|
| - return testSuite->Run();
|
| + int result = testSuite->Run();
|
| + blink::Heap::collectAllGarbage();
|
| + return result;
|
| }
|
|
|
| int main(int argc, char** argv)
|
|
|