Commit 64138139 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

tests: fpu-stress: check usleep status


Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 4148aaba
......@@ -37,13 +37,13 @@ static int timeout_secs = 3; /* Default to 3s runtime. */
static void *stress_loop(void *arg)
{
int tfd;
int tfd, ret;
__Tcall_assert(tfd, evl_attach_self("fpu-stresser:%d", getpid()));
for (;;) {
evl_set_fpregs(fp_features, 0xf1f5f1f5);
evl_usleep(TEST_PERIOD_USEC);
__Tcall_assert(ret, evl_usleep(TEST_PERIOD_USEC));
}
return NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment