From: Dmitry V. Levin Date: Tue, 16 Jul 2019 17:46:47 +0000 (+0000) Subject: tests: skip socketcall test on arm eabi X-Git-Tag: v5.3~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3458fe8f6de425b4e8a10eda8d85eef0330ec947;p=strace tests: skip socketcall test on arm eabi arm eabi has no socketcall even if __NR_socketcall is defined. * tests/socketcall.c: Conditionalize on !__ARM_EABI__ along with __NR_socketcall. --- diff --git a/tests/socketcall.c b/tests/socketcall.c index aa68a7eb..7e282f92 100644 --- a/tests/socketcall.c +++ b/tests/socketcall.c @@ -10,7 +10,7 @@ #include "tests.h" #include -#ifdef __NR_socketcall +#if defined __NR_socketcall && !defined __ARM_EABI__ # include # include @@ -70,6 +70,6 @@ main(void) #else -SKIP_MAIN_UNDEFINED("__NR_socketcall") +SKIP_MAIN_UNDEFINED("__NR_socketcall && !__ARM_EABI__") #endif