Changeset c653b37 for src/tests/long_tests.h
- Timestamp:
- Jun 28, 2018, 4:04:11 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- e3b2474
- Parents:
- a12c81f3 (diff), 944ce47 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/long_tests.h
ra12c81f3 rc653b37 4 4 5 5 #if defined(TEST_FOREVER) 6 7 static unsigned long long __kick_count = 0; 8 #if !defined(__kick_rate) 9 #define __kick_rate 5000ul 10 #endif 11 6 12 #define TEST(x) 1 7 #define KICK_WATCHDOG write(STDOUT_FILENO, ".", 1) 8 #elif defined(TEST_LONG) 13 #define KICK_WATCHDOG do { __kick_count++; if(__kick_count > __kick_rate) { write(STDOUT_FILENO, ".", 1); __kick_count = 0; } } while(0) 14 15 16 #else 17 9 18 #define TEST(x) x 10 19 #define KICK_WATCHDOG 11 #else 12 #define TEST(x) x 13 #define KICK_WATCHDOG 20 14 21 #endif
Note:
See TracChangeset
for help on using the changeset viewer.