]> granicus.if.org Git - strace/commitdiff
tests: skip socketcall test on arm eabi
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 16 Jul 2019 17:46:47 +0000 (17:46 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 16 Jul 2019 17:46:47 +0000 (17:46 +0000)
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

index aa68a7eb5d55ef78d27250f565cee1dea41ac225..7e282f9249329659895d85de9bbc752f27bf4a92 100644 (file)
@@ -10,7 +10,7 @@
 #include "tests.h"
 #include <asm/unistd.h>
 
-#ifdef __NR_socketcall
+#if defined __NR_socketcall && !defined __ARM_EABI__
 
 # include <assert.h>
 # include <stdio.h>
@@ -70,6 +70,6 @@ main(void)
 
 #else
 
-SKIP_MAIN_UNDEFINED("__NR_socketcall")
+SKIP_MAIN_UNDEFINED("__NR_socketcall && !__ARM_EABI__")
 
 #endif