diff options
author | Elliott Hughes <enh@google.com> | 2014-05-14 01:19:18 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-14 01:19:18 +0000 |
commit | 676e964d0be749b9899511f5f7212c3765c8f38a (patch) | |
tree | c7c64f84df273b3c3b3810ec380d12ca31cb1ff2 | |
parent | 63a3cc1473fbf0c012f1d2fc0396f11d932084d7 (diff) | |
parent | 41d9bb34ce4b79812f3c16f8e47ef0f9a41f1d6e (diff) | |
download | extras-676e964d0be749b9899511f5f7212c3765c8f38a.tar.gz |
Merge "Remove a test for dead code."
-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; -} |