Martine Lenders 4359429168 Merge pull request #1164 from Kijewski/unittests-use-subfolders
unittests: use subfolders for different tests
2014-05-14 12:54:21 +02:00

37 lines
660 B
C

/*
* 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"
#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
*/
TESTS_END();
#if defined (BOARD_NATIVE) && !defined (OUTPUT)
void _exit(int);
_exit(TestRunnerHadErrors);
#endif
lpm_set(LPM_POWERDOWN);
return 0;
}