OSDN Git Service

test_atomics is an ARM specific test
authorChris Dearman <chris@mips.com>
Tue, 18 Dec 2012 00:57:13 +0000 (16:57 -0800)
committerChris Dearman <chris@mips.com>
Tue, 18 Dec 2012 01:07:08 +0000 (17:07 -0800)
Bionic only defines the __atomic_xxx functions for ARM legacy support.

Change-Id: I813cf9d66ccfc026f89cfbc0e5cbed202e263594
Signed-off-by: Chris Dearman <chris@mips.com>
tests/bionic/libc/Android.mk

index 52ef01e..9b0cf70 100644 (file)
@@ -154,7 +154,6 @@ sources := \
     other/bench_locks.c \
     other/test_aligned.c \
     other/test_arc4random.c \
-    other/test_atomics.c \
     other/test_sysconf.c \
     other/test_system.c \
     other/test_thread_max.c \
@@ -163,6 +162,11 @@ sources := \
     other/test_timer_create3.c \
     other/test_vfprintf_leak.c \
 
+ifeq ($(TARGET_ARCH),arm)
+sources += \
+    other/test_atomics.c
+endif
+
 $(call device-test, $(sources))
 
 # The relocations test is a bit special, since we need