summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-13 18:17:25 -0700
committerElliott Hughes <enh@google.com>2014-05-13 18:18:47 -0700
commit41d9bb34ce4b79812f3c16f8e47ef0f9a41f1d6e (patch)
treec7c64f84df273b3c3b3810ec380d12ca31cb1ff2
parent63a3cc1473fbf0c012f1d2fc0396f11d932084d7 (diff)
downloadextras-41d9bb34ce4b79812f3c16f8e47ef0f9a41f1d6e.tar.gz
Remove a test for dead code.
Bug: 14903517 Change-Id: I139ae922c6c9468606d3145f0c74361ed789d949
-rw-r--r--tests/bionic/libc/Android.mk5
-rw-r--r--tests/bionic/libc/other/test_atomics.c17
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;
-}