summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-10-07 15:19:02 -0700
committerElliott Hughes <enh@google.com>2016-10-08 15:06:52 -0700
commitdee9705c70cd6182c64936ef167779f9209998b0 (patch)
tree045ce09d592e6bc5fbc704fd65a216ee85b05efd /tests
parent1607d18122f86274fc617996ea5b8eeca995a048 (diff)
downloadextras-dee9705c70cd6182c64936ef167779f9209998b0.tar.gz
Rely on the platform -std default.
Bug: http://b/32019064 Test: builds Change-Id: I301b223df84ffdea7c93b5c735c859abcc5bb220
Diffstat (limited to 'tests')
-rw-r--r--tests/kernel.config/Android.mk1
-rw-r--r--tests/lib/testUtil/Android.mk1
-rw-r--r--tests/pagingtest/Android.mk2
-rw-r--r--tests/tcp_nuke_addr/Android.mk2
-rw-r--r--tests/timetest/Android.mk1
5 files changed, 1 insertions, 6 deletions
diff --git a/tests/kernel.config/Android.mk b/tests/kernel.config/Android.mk
index 756344bc..0f64aed2 100644
--- a/tests/kernel.config/Android.mk
+++ b/tests/kernel.config/Android.mk
@@ -12,7 +12,6 @@ test_c_flags := \
-Wall -Wextra \
-Werror \
-fno-builtin \
- -std=gnu++11
# Required Tests
cts_src_files := \
diff --git a/tests/lib/testUtil/Android.mk b/tests/lib/testUtil/Android.mk
index f814dac3..c5ae26d3 100644
--- a/tests/lib/testUtil/Android.mk
+++ b/tests/lib/testUtil/Android.mk
@@ -21,7 +21,6 @@ LOCAL_MODULE_TAGS := tests
LOCAL_MODULE:= libtestUtil
LOCAL_SRC_FILES:= testUtil.c
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../include
-LOCAL_CFLAGS += -std=c99
LOCAL_SHARED_LIBRARIES += libcutils libutils
diff --git a/tests/pagingtest/Android.mk b/tests/pagingtest/Android.mk
index 23ffea19..727e3b81 100644
--- a/tests/pagingtest/Android.mk
+++ b/tests/pagingtest/Android.mk
@@ -8,8 +8,6 @@ LOCAL_SRC_FILES:= \
pageinout_test.c \
thrashing_test.c
-LOCAL_CFLAGS := -std=gnu11
-
LOCAL_MODULE:= pagingtest
LOCAL_MODULE_TAGS := tests
diff --git a/tests/tcp_nuke_addr/Android.mk b/tests/tcp_nuke_addr/Android.mk
index 2eef6089..f45677ea 100644
--- a/tests/tcp_nuke_addr/Android.mk
+++ b/tests/tcp_nuke_addr/Android.mk
@@ -4,7 +4,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := tcp_nuke_addr_test
LOCAL_C_INCLUDES += frameworks/native/include external/libcxx/include
-LOCAL_CPPFLAGS += -std=c++11 -Wall -Werror
+LOCAL_CPPFLAGS += -Wall -Werror
LOCAL_SHARED_LIBRARIES := libc++
LOCAL_SRC_FILES := tcp_nuke_addr_test.cpp
LOCAL_MODULE_TAGS := eng tests
diff --git a/tests/timetest/Android.mk b/tests/timetest/Android.mk
index b2a1aa5b..92bbf1ee 100644
--- a/tests/timetest/Android.mk
+++ b/tests/timetest/Android.mk
@@ -28,7 +28,6 @@ test_c_flags := \
-Wall -Wextra \
-Werror \
-fno-builtin \
- -std=gnu++11
test_src_files := \
rtc_test.cpp