Skip to content

Commit a53d032

Browse files
committed
system/uorb:unit_test bug fix
Fixed the error message caused by inconsistent definitions of pthread_t on different platforms. Signed-off-by: likun17 <likun17@xiaomi.com>
1 parent 0295e58 commit a53d032

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

system/uorb/test/unit_test.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,6 @@ static int latency_test(bool print)
235235
usleep(1000); /* simulate >800 Hz system operation */
236236
}
237237

238-
if (pubsub_task < 0)
239-
{
240-
test_fail("failed launching task");
241-
goto out;
242-
}
243-
244238
ret = OK;
245239

246240
out:

0 commit comments

Comments
 (0)