summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2017-07-24 12:57:22 -0700
committerDan Albert <danalbert@google.com>2017-07-24 13:17:51 -0700
commit72361640aba60333c7007bc4eb87aadbbc6b971a (patch)
treed4f836d2e351b030906182212ca3b70c42f4437e
parent2b3b8112f5c74e6c3122b0911c0b8b429e14302b (diff)
downloadexternal_libcxx-72361640aba60333c7007bc4eb87aadbbc6b971a.tar.gz
external_libcxx-72361640aba60333c7007bc4eb87aadbbc6b971a.tar.bz2
external_libcxx-72361640aba60333c7007bc4eb87aadbbc6b971a.zip
Infer C++ standard feature from config.
Test: ndk/run_tests.py Bug: None Change-Id: I3f126a3efdbd632f5792f44038bc4cb4102c373e (cherry picked from commit 82773667758b333dce6f3235f1c8cce9ece807e7)
-rw-r--r--utils/libcxx/ndk/test/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/libcxx/ndk/test/config.py b/utils/libcxx/ndk/test/config.py
index bdb82e50f..a68854cbb 100644
--- a/utils/libcxx/ndk/test/config.py
+++ b/utils/libcxx/ndk/test/config.py
@@ -108,7 +108,7 @@ class Configuration(libcxx.test.config.Configuration):
self.cxx.link_flags.append('-pie')
def configure_features(self):
- self.config.available_features.add('c++11')
+ self.config.available_features.add(self.get_lit_conf('std'))
self.config.available_features.add('long_tests')
def get_test_format(self):