1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/unittests/main.c

37 lines
660 B
C
Raw Normal View History

2014-04-07 15:15:25 +02:00
/*
* Copyright (C) 2014 Martin Lenders
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License. See the file LICENSE in the top level directory for more
* details.
*/
#include "unittests.h"
2014-04-07 15:15:25 +02:00
#include "lpm.h"
int main(void)
{
#ifdef OUTPUT
TextUIRunner_setOutputter(OUTPUTTER);
#endif
TESTS_START();
/* put test TEST_RUN() calls here: */
/* #ifdef TEST_xxx_ENABLED
* tests_xxx();
* #endif
*/
2014-04-07 15:15:25 +02:00
TESTS_END();
2014-05-13 07:06:03 +02:00
#if defined (BOARD_NATIVE) && !defined (OUTPUT)
void _exit(int);
_exit(TestRunnerHadErrors);
#endif
2014-04-07 15:15:25 +02:00
lpm_set(LPM_POWERDOWN);
return 0;
}