aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2017-06-13 16:53:45 -0700
committerDan Albert <danalbert@google.com>2017-06-14 14:52:00 -0700
commitdb043a5bb339a5cfff7214fd8acd726ea93021b1 (patch)
tree2ab1f58681eef2d8cd6cc08e7cac7b827e2b3e67 /run_tests.py
parent0f857c683c6a5b75ea9f0b561ebf5dece7ffcdec (diff)
downloadndk-db043a5bb339a5cfff7214fd8acd726ea93021b1.tar.gz
Remove support for the deprecated headers.
Test: ./checkbuild.py && ./run_tests.py Bug: None Change-Id: Icf3af28f80023dad4a8c2d3abc2e52353417db7b
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/run_tests.py b/run_tests.py
index 8f31f58e1..b286e1f69 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -508,15 +508,13 @@ def restart_flaky_tests(report, workqueue):
workqueue.add_task(run_test, report.result.test)
-def get_config_dict(config, abis, toolchains, headers, pie):
+def get_config_dict(config, abis, toolchains, pie):
with open(config) as test_config_file:
test_config = json.load(test_config_file)
if abis is not None:
test_config['abis'] = abis
if toolchains is not None:
test_config['toolchains'] = toolchains
- if headers is not None:
- test_config['headers'] = headers
if pie is not None:
test_config['pie'] = pie
return test_config
@@ -546,9 +544,6 @@ def parse_args():
'--toolchain', action='append', choices=('clang', 'gcc'),
help='Test only the given toolchains.')
config_options.add_argument(
- '--headers', action='append', choices=('unified', 'deprecated'),
- help='Test only the given header configurations.')
- config_options.add_argument(
'--pie', action='append', choices=(True, False), type=str_to_bool,
help='Test only the given PIE configurations.')
config_options.add_argument(
@@ -602,14 +597,12 @@ class ConfigFilter(object):
self.config_tuples = list(itertools.product(
test_spec.abis,
test_spec.toolchains,
- test_spec.headers_config,
test_spec.pie_config))
def filter(self, build_config):
config_tuple = (
build_config.abi,
build_config.toolchain,
- build_config.force_deprecated_headers,
build_config.force_pie
)
@@ -631,7 +624,7 @@ def main():
sys.exit('Test directory does not exist: {}'.format(args.test_dir))
test_config = get_config_dict(
- args.config, args.abi, args.toolchain, args.headers, args.pie)
+ args.config, args.abi, args.toolchain, args.pie)
printer = printers.StdoutPrinter(show_all=args.show_all)
if args.rebuild: