Changeset 1515 for trunk/test/Suite.cc


Ignore:
Timestamp:
Sep 19, 2008, 10:53:22 PM (13 years ago)
Author:
Peter
Message:

adding support for YAT_TEST_VERBOSE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Suite.cc

    r1509 r1515  
    3838  {
    3939    dev_null_ = new std::ofstream("/dev/null");
    40     if (argc>1 && argv[1]==std::string("-v"))
     40    char* buffer=std::getenv("YAT_TEST_VERBOSE");
     41
     42    if ( (argc>1 && argv[1]==std::string("-v")) || buffer == std::string("1"))
    4143      verbose_ = true;
    4244    else {
Note: See TracChangeset for help on using the changeset viewer.