Changeset 6682 for trunk/UNIT_TESTER/UnitTester.cxx
- Timestamp:
- 03/08/10 11:42:36 (22 months ago)
- Files:
-
- 1 modified
-
trunk/UNIT_TESTER/UnitTester.cxx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/UNIT_TESTER/UnitTester.cxx
r6677 r6682 18 18 #include <cstdlib> 19 19 #include <cstdio> 20 #include <cstring> 20 21 21 22 #include <sys/time.h> … … 152 153 } 153 154 155 if (duration_ms_this>1000) { // long test duration 156 if (strlen(test.name) <= 10 || memcmp(test.name, "TEST_SLOW_", 10) != 0) { 157 fprintf(stderr, "%s: Warning: Name of slow tests shall start with TEST_SLOW_ (it'll be run after other tests)\n", 158 test.location); 159 } 160 } 161 154 162 return result == TEST_OK; 155 163 }
