Skip to content

Commit

Permalink
skip test in thread mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Sep 5, 2023
1 parent 1093132 commit 138ea74
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/remain.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ static int enterleave_thread_handler(void *arg)

static int test_remain_enterleave(void)
{
/*
* re_thread_enter() and re_thread_leave() works only
* with one re poll thread (re_global).
*/
if (test_mode == TEST_THREAD)
return ESKIPPED;

struct data data = {0};

int err = thread_create_name(&data.tid, "enter-leave",
Expand Down

0 comments on commit 138ea74

Please sign in to comment.