Changeset 14122 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Apr 28, 2006, 10:28:29 PM (19 years ago)
Author:
sfalken
Message:

2006-04-28 Steve Falkenburg <[email protected]>

Reviewed by kdecker

Suppress error reporting dialog that blocks Javascript tests from completing.


Real error is due to an overflow in the date/time handling functions that needs
to be addressed, but this will prevent the hang running the Javascript tests
on the build bot (along with the related changes).


  • kjs/testkjs.cpp: (main): Suppress C runtime alerts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/testkjs.cpp

    r13861 r14122  
    4141#if PLATFORM(WIN_OS)
    4242#include <windows.h>
     43#include <crtdbg.h>
    4344#endif
    4445
     
    189190int main(int argc, char** argv)
    190191{
     192#if 0
     193#if defined(_DEBUG) && PLATFORM(WIN_OS)
     194    _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR);
     195    _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
     196    _CrtSetReportFile(_CRT_ERROR, _CRTDBG_FILE_STDERR);
     197    _CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_FILE);
     198    _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);
     199    _CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE);
     200#endif
     201#endif
     202
    191203    int res = 0;
    192204    TRY
Note: See TracChangeset for help on using the changeset viewer.