diff options
-rw-r--r-- | tests/bionic/libc/Android.mk | 5 | ||||
-rw-r--r-- | tests/bionic/libc/other/test_atomics.c | 17 |
2 files changed, 0 insertions, 22 deletions
diff --git a/tests/bionic/libc/Android.mk b/tests/bionic/libc/Android.mk index 32900a8e..a29b7925 100644 --- a/tests/bionic/libc/Android.mk +++ b/tests/bionic/libc/Android.mk @@ -142,11 +142,6 @@ sources := \ other/test_sysconf.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 diff --git a/tests/bionic/libc/other/test_atomics.c b/tests/bionic/libc/other/test_atomics.c deleted file mode 100644 index 0de2a938..00000000 --- a/tests/bionic/libc/other/test_atomics.c +++ /dev/null @@ -1,17 +0,0 @@ -#include <stdio.h> - - -extern int __atomic_dec(volatile int* addr); - -int main(int argc, const char *argv[]) -{ - int x = 5; - - while (x > -20) { - printf("old_x=%d\n", __atomic_dec(&x)); - printf("x=%d\n", x); - } - - printf ("OK\n"); - return 0; -} |