Changeset 2035
- Timestamp:
- Aug 22, 2009, 4:32:57 PM (13 years ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/README
r1933 r2035 38 38 make as follows: 39 39 40 make YAT_TEST_VERBOSE=1check40 env VERBOSE=1 make -e check 41 41 42 42 If you want to run only a subset of tests, you can invoke make as follows 43 43 44 make TESTS="first_test second_test"check44 env TESTS="first_test second_test" make -e check 45 45 46 46 -
trunk/test/Suite.cc
r1998 r2035 41 41 { 42 42 char* buffer=std::getenv("YAT_TEST_VERBOSE"); 43 if (buffer) 44 std::cerr << "WARNING: environment variable `YAT_TEST_VERBOSE' " 45 << "is deprecated\n use `VERBOSE' instead.\n"; 46 char* env_verbose=std::getenv("VERBOSE"); 43 47 44 48 if ( (argc>1 && argv[1]==std::string("-v")) || 45 (buffer && buffer == std::string("1")) ) 49 (buffer && buffer == std::string("1")) || 50 env_verbose) { 46 51 verbose_ = true; 52 // synchronize cerr and cout, i.e., cout is flushed before 53 // writing anything to cerr. 54 std::cerr.tie(&std::cout); 55 } 47 56 else { 48 57 verbose_ = false;
Note: See TracChangeset
for help on using the changeset viewer.