Skip to content

Commit

Permalink
Merge pull request #4035 from OlegHahm/test_msg_send_receive
Browse files Browse the repository at this point in the history
tests: fixes for msg_send_receive
  • Loading branch information
miri64 committed Oct 3, 2015
2 parents 26f5198 + ee01dad commit 1fcca83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/msg_send_receive/Makefile
@@ -1,5 +1,8 @@
# name of your application
APPLICATION = msg_send_receive

USEMODULE += xtimer

include ../Makefile.tests_common

include $(RIOTBASE)/Makefile.include
Expand Down
7 changes: 5 additions & 2 deletions tests/msg_send_receive/main.c
Expand Up @@ -15,6 +15,7 @@
*
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
* @author René Kijewski <rene.kijewski@fu-berlin.de>
* @author Oliver Hahm <oliver.hahm@inria.fr>
*
* @}
*/
Expand All @@ -23,9 +24,10 @@

#include "cpu_conf.h"
#include "thread.h"
#include "xtimer.h"

#define THREAD1_STACKSIZE (THREAD_EXTRA_STACKSIZE_PRINTF)
#define THREAD2_STACKSIZE (THREAD_EXTRA_STACKSIZE_PRINTF)
#define THREAD1_STACKSIZE (THREAD_STACKSIZE_MAIN)
#define THREAD2_STACKSIZE (THREAD_STACKSIZE_MAIN)

#ifndef TEST_EXECUTION_NUM
#define TEST_EXECUTION_NUM (10)
Expand Down Expand Up @@ -56,6 +58,7 @@ static void *thread1(void *args)
success = 0;
break;
}
xtimer_usleep(200);
}

if (success) {
Expand Down

0 comments on commit 1fcca83

Please sign in to comment.