#include #ifndef CXXTEST_RUNNING #define CXXTEST_RUNNING #endif #define _CXXTEST_HAVE_STD #define _CXXTEST_LONGLONG long long #include #include #include #include #include #include #include #include #include #include extern void board_start(const char*); extern RF24Network network; extern RF24 radio; int main( void ) { CxxTest::ErrorPrinter tmp; while(1) { board_start(__FILE__); SPI.begin(); radio.begin(); network.begin(/* channel */100,/* this node */0); CxxTest::Main( tmp, 0, NULL ); printf("Tests complete. Restarting...\r\n"); } } const char* CxxTest::RealWorldDescription::_worldName = "cxxtest"; // vim:cin:ai:sts=2 sw=2 ft=cpp