Changeset 14122 in webkit for trunk/JavaScriptCore


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
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r14094 r14122  
     12006-04-28  Steve Falkenburg  <[email protected]>
     2
     3        Reviewed by kdecker
     4
     5        Suppress error reporting dialog that blocks Javascript tests from completing.
     6       
     7        Real error is due to an overflow in the date/time handling functions that needs
     8        to be addressed, but this will prevent the hang running the Javascript tests
     9        on the build bot (along with the related changes).
     10       
     11        * kjs/testkjs.cpp:
     12        (main): Suppress C runtime alerts
     13
    1142006-04-27  Geoffrey Garen  <[email protected]>
    215
  • 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.