Re: [PATCH] x86, selftests: Add sigreturn_32 selftest

From: Ingo Molnar
Date: Mon Mar 09 2015 - 12:29:18 EST



* Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:

> This is my sigreturn test, added mostly unchanged from its old home.
>
> The integration with the selftest build process seems okay if not
> particularly elegant.
>
> I'm not using the ksft_ helpers at all yet. I can do that later.

Cool!

Doesn't seem to build on Ubuntu though:

make[1]: Entering directory
'/home/mingo/tip/tools/testing/selftests/x86'
gcc -m32 -o sigreturn_32 -O2 -g -std=gnu99 -pthread -Wall sigreturn.c -lrt -ldl
sigreturn.c:13:22: fatal error: sys/time.h: No such file or directory
#include <sys/time.h>
^
compilation terminated.
Makefile:18: recipe for target 'sigreturn_32' failed

also, run_tests.sh probably wants to be executable?

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/