source: src/tests/long_tests.h@ 3fd8b0e

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since 3fd8b0e was 7bdcac1, checked in by Thierry Delisle <tdelisle@…>, 7 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.