[PATCH] Don't run old_mmap test on m68k

Andreas Schwab schwab at linux-m68k.org
Sat Nov 12 09:48:55 UTC 2016


* tests/old_mmap.c: Skip test on m68k.
---
 tests/old_mmap.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/old_mmap.c b/tests/old_mmap.c
index de1bafb367..2725fb754e 100644
--- a/tests/old_mmap.c
+++ b/tests/old_mmap.c
@@ -31,7 +31,7 @@
 #include <asm/unistd.h>
 
 /*
- * On s390x, this is the mmap syscall used by glibc, so,
+ * On s390x and m68k, this is the mmap syscall used by glibc, so,
  * from one side, it's already covered by another test, and, from another side,
  * it would require additional efforts to filter out mmap calls made by glibc.
  */
@@ -39,7 +39,6 @@
 #if defined __NR_mmap && \
 (   defined __arm__ \
  || defined __i386__ \
- || defined __m68k__ \
  || (defined __s390__ && !defined __s390x__) \
 )
 
@@ -96,7 +95,7 @@ main(void)
 
 #else
 
-SKIP_MAIN_UNDEFINED("__NR_mmap && (__arm__ || __i386__ || __m68k__"
+SKIP_MAIN_UNDEFINED("__NR_mmap && (__arm__ || __i386__"
 		    " || (__s390__ && !__s390x__))")
 
 #endif
-- 
2.10.2


-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




More information about the Strace-devel mailing list