Skip to content

Commit

Permalink
Add unified headers support to the libc++ tests.
Browse files Browse the repository at this point in the history
Test: ./test_libcxx.py --unified-headers -a armeabi-v7a -p 9
Bug: android/ndk#120
Change-Id: Ib5e6ad3ba647aea3086dd4b91046efcc988c196a
  • Loading branch information
DanAlbert committed Nov 3, 2016
1 parent 4b7c267 commit 885481f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_libcxx.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ def parse_args():
parser.add_argument(
'-p', '--platform', required=True, type=int,
help='API level to build against.')
parser.add_argument(
'--unified-headers', action='store_true', default=False,
help='Use NDK unified headers.')
parser.add_argument(
'-t', '--timeout', default=300, type=int,
help='Per-test timeout in seconds.')
Expand Down Expand Up @@ -101,6 +104,7 @@ def main():

lit_args = [
lit_path, '-sv', '--param=device_dir=' + device_dir,
'--param=unified_headers={}'.format(args.unified_headers),
'--timeout={}'.format(args.timeout)
] + extra_args
if not have_filter_args:
Expand Down

0 comments on commit 885481f

Please sign in to comment.