source: src/tests/long_tests.h @ afcb0a3

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since afcb0a3 was 7bdcac1, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Added the option to make longrun tests run until failure

  • Property mode set to 100644
File size: 249 bytes
Line 
1#pragma once
2
3#include <unistd.h>
4
5#if   defined(TEST_FOREVER)
6#define TEST(x) 1
7#define KICK_WATCHDOG write(STDOUT_FILENO, ".", 1)
8#elif defined(TEST_LONG)
9#define TEST(x) x
10#define KICK_WATCHDOG
11#else
12#define TEST(x) x
13#define KICK_WATCHDOG
14#endif
Note: See TracBrowser for help on using the repository browser.