Skip to content

Commit

Permalink
Enable libc++ tests for x86_64.
Browse files Browse the repository at this point in the history
Test: ./run_tests.py --suite libc++ --abi x86_64
Bug: android/ndk#294
Change-Id: I4756693e0cf0459b9488d940358035ac91214134
  • Loading branch information
DanAlbert committed Feb 10, 2017
1 parent 0cb24b7 commit 7acb465
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def build_broken(abi, api, toolchain, name):
if abi == 'arm64-v8a' and name == 'divide_equal_complex.pass':
broken_abis = ('arm64-v8a', 'x86_64')
if abi in broken_abis and name == 'divide_equal_complex.pass':
return abi, 'https://github.com/android-ndk/ndk/issues/294'
return None, None
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ def build_broken(abi, api, toolchain, name):
'complex_divide_complex.pass',
'scalar_divide_complex.pass',
)
if abi == 'arm64-v8a' and name in broken_tests:
broken_abis = ('arm64-v8a', 'x86_64')
if abi in broken_abis and name in broken_tests:
return abi, 'https://github.com/android-ndk/ndk/issues/294'
return None, None
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def build_broken(abi, api, toolchain, name):
if abi == 'arm64-v8a' and name in ('atan.pass', 'atanh.pass'):
broken_abis = ('arm64-v8a', 'x86_64')
if abi in broken_abis and name in ('atan.pass', 'atanh.pass'):
return abi, 'https://github.com/android-ndk/ndk/issues/294'
return None, None
3 changes: 2 additions & 1 deletion tests/libc++/test/std/numerics/complex_number/test_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
def build_broken(abi, api, toolchain, name):
if abi == 'arm64-v8a' and name == 'divide_equal_complex.pass':
broken_abis = ('arm64-v8a', 'x86_64')
if abi in broken_abis and name == 'divide_equal_complex.pass':
return abi, 'https://github.com/android-ndk/ndk/issues/294'
return None, None
1 change: 1 addition & 0 deletions tests/testlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,7 @@ def check_unsupported(self):
'arm64-v8a',
'armeabi-v7a',
'x86',
'x86_64',
)

if self.abi not in supported_abis:
Expand Down

0 comments on commit 7acb465

Please sign in to comment.