[Webkit-unassigned] [Bug 69942] When an API test fails, TestWebKitAPI crashes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 21 11:00:06 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=69942





--- Comment #18 from Dmitry Lomov <dslomov at google.com>  2011-12-21 11:00:06 PST ---
(In reply to comment #16)
> (In reply to comment #14)
> > Of course, the problem with this approach is that 'new' and 'delete' operators in JavaScriptCore headers now will NOT be redefined as fastMalloc() and fastFree(), so there will be mismatches when creating/deleting JSC objects.
> 
> I beginning to see Dmitry's point in Bug 66521 about making gtest use FastMalloc.h as the only sane solution here.

Good :) Is that what are you shooting for now? Do you need help?

I do not think USE_SYSTEM_MALLOC is going to cut it. Basically, since these are webkit/webcore unit tests, we do want to be able to test in the exact regimes ports compile. This includes running unit tests with global fast malloc/free. The testing framework should not require any specific set of ENABLE_/DISABLE_ defines (individual tests might though).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list