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.
|
|
|
|
*/
|
|
|
|
|
2014-05-14 11:13:53 +02:00
|
|
|
#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();
|
2014-05-14 11:13:53 +02:00
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|