Changeset 2238

Show
Ignore:
Timestamp:
11/08/2008 10:34:50 (5 months ago)
Author:
chris
Message:

Make test failures more obvious, and log them through logging framework.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/common/Test.h

    r2225 r2238  
    4242        } \ 
    4343        failures++; \ 
    44         printf("FAILURE: %s at " __FILE__ ":%d\n", msg, __LINE__); \ 
     44        BOX_ERROR("**** TEST FAILURE: " << msg << " at " << __FILE__ << \ 
     45                ":" << __LINE__); \ 
    4546} 
    4647