From 3458fe8f6de425b4e8a10eda8d85eef0330ec947 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 16 Jul 2019 17:46:47 +0000 Subject: [PATCH] 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. --- tests/socketcall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0