Changeset 3070


Ignore:
Timestamp:
22/01/2012 19:37:13 (4 months ago)
Author:
chris
Message:

Print the message of the exception that caused a test to fail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/buildenv-testmain-template.cpp

    r2415 r3070  
    370370                return returncode; 
    371371        } 
     372        catch(BoxException &e) 
     373        { 
     374                printf("FAILED: Exception caught: %s: %s\n", e.what(), 
     375                        e.GetMessage().c_str()); 
     376                return 1; 
     377        } 
    372378        catch(std::exception &e) 
    373379        { 
Note: See TracChangeset for help on using the changeset viewer.