aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2016-02-04Refine googletest test config.Dan Albert
Seems this only fails on the Intel ABIs? According to the bug history, I first marked this as failing when tested on an AOSP device and some armeabi-v7a emulators. Perhaps it's just an issue with emulated devices? Bug: http://b/24380035 Change-Id: I07e5231e28da30a592c4d3c11beffd543b112849
2016-02-04Fix test config for GOT optimization test.Dan Albert
This test is actually only broken for ARM's 32-bit ABIs. Bug: http://b/26031639 Change-Id: Idd166f1f11012565cc3f7ad723557796108561ac
2016-02-03Default to testing with clang.Dan Albert
GCC is deprecated, so why is it still the default testing toolchain? Change-Id: I6540370e5917b5b7e74f2869b4ab8d177e4ef68f
2016-01-29Add a test for unwinder compatibility in libc++.Dan Albert
The libgcc and LLVM unwinders like to fight. This test will fail if the unwinder is not linked to be tolerant of this. Bug: http://b/26194502 Change-Id: I0d03f67edae1e53dac44fff3557666eb08e77a4a
2016-01-21Fix the asan test setup for the old layout.Dan Albert
Change-Id: Iad9352405062b27b052db086149dc3a9a96054f3
2016-01-12Add V=1 to ndk-buildDimitry Ivanov
Change-Id: Iee3182513369fdb2b38c58407291aa041b3294b5
2016-01-12Lock another test to the ABIs it was written for.Dan Albert
Change-Id: I02d2ac056bfecfc4e2f1e292ba7be7c476a4a79f
2016-01-11Restrict a test to run on only arm64.Dan Albert
Change-Id: Id188be6933455c768aa15fd369a125b63cdf073c
2016-01-11Remove a useless test.Dan Albert
This doesn't actually check that any optimization was performed, just that the compiler exits successfully. Change-Id: I33c6e9d9b6b3fed3420ebd0e1b6d868529837548
2016-01-11Fix test from revert to the old package layout.Dan Albert
Change-Id: I560bcd005025a151acace682c0453ae9b965151b
2016-01-11Merge "Make an ARM only test actually ARM only."Dan Albert
2016-01-11Merge "Improved 'build.sh' of the 'prctl' build test"Dan Albert
2016-01-11Merge "Remove a pointless and obsolete test."Dan Albert
2016-01-11Remove a pointless and obsolete test.Dan Albert
Change-Id: Idb21d74f4d470c8f26b84224fb881a2bf40e9e5d
2016-01-11Make an ARM only test actually ARM only.Dan Albert
Change-Id: Ia88c2f4879e8a10a398b7d86316b45c560cb6049
2016-01-09Remove test for wait3Dimitry Ivanov
wait3 was removed from the NDK Bug: http://b/26234924 Change-Id: I5c2c1cd0d9097151478936b72ccfffc1976ac4c5
2016-01-04Restore the old package layout.Dan Albert
We haven't been able to finalize a new package layout, and we don't want to change it twice. Restore the old layout until we can figure out the new one. Change-Id: I3082a0354b5f1f34456ba3a769b37257484e5f45
2016-01-04Merge "Add a test for missing LP32 std::copysign."Dan Albert
2016-01-04Add a test for missing LP32 std::copysign.Dan Albert
https://twitter.com/sonicadvance1/status/679201171781713920?s=03 Apparently gnustl doesn't include std::copysign on LP32 platforms. Haven't looked in to why yet, but this is the test case I used to narrow down the bug (since the tweets make terrible bug reports). Bug: http://b.android.com/74835 Bug: http://b/26318616 Change-Id: I55bc9baf7259646a3322dfee64a189805c0dedcd
2015-12-25Fix unwind-struct test for mips64 archLazar Trsic
Flag __mips__ is defined for both mips 32 and 64 arch. Use __mips64 flag to differentiate. Flag __mips64__ is not exported by GCC. Change-Id: Iada7bde624d227eebf055ad6a6847bc298e5a2b4
2015-12-17Remove some unused bits.Dan Albert
Change-Id: I8acf4a06cf116c63f85b554acdc3bfcab55cf11b
2015-12-09Add test support for x86 ASAN.Dan Albert
Bug: http://b/25981507 Change-Id: Id3b46ff76fe5aff8d3d605669affcc25c22731a4
2015-12-08Remove some obsolete tests.Dan Albert
The NDK used to support defining `_WCHAR_IS_8BIT` to get an 8-bit wchar (this was for compatibility with Froyo and earlier releases). We don't support targeting anything before Gingerbread any more, so I don't think we need this compatibility flag now (it's already gone from the NDK sys/cdefs.h). Change-Id: I13e748a9038b2c7c80d417e3ddb0c6bd9ae57bd5
2015-12-08Restrict a test to Jelly Bean and newer.Dan Albert
mm_malloc.h depends on posix_memalign, which wasn't added until android-16. Change-Id: I247d275f9065b397c8e2c64149eefba93360d517
2015-12-08Fix byteswap optimization test for mips.Dan Albert
Previously the test wasn't actually checking for wsbh like it claimed. We need to check that we emit a wsbh followed by a rotate. Also, rotr is a synonym for ror that we need to catch. Change-Id: Ib3a14e1534b00b3d63af222ebf5c56c563d46000
2015-12-08Mark optimization test broken for clang arm7.Dan Albert
Clang does not emit rev16 for __builtin_bswap16, but rev + lsr instead. Previously we were implementing __swap16 ourselves, but now we're relying on the compiler builtin. Bug: http://b/26091410 Change-Id: I2c75ceeb8c52fd499d9fba26ce4d7ce5f042df49
2015-12-08Accept more flavors of the same instruction.Dan Albert
Might use rolw instead of rorw, and bswapl instead of bswap. Change-Id: Ic06fb1ceca7f7a125d1bb5fbc3c3c22a646d467b
2015-12-08Make a test test the right thing.Dan Albert
If we're trying to check that we don't have arm5 definitions in arm7, test that directly. Change-Id: I8fd29b56cd37a64e731236203ff136c268872ec1
2015-12-08Mark some dyncast tests broken for clang x86_64.Dan Albert
Haven't investigated the problem yet. Failures go away with -O0. Seems to not have been a problem for r10e. Bug: http://b/26085687 Change-Id: I9fb5f4473e9286059e0ff7c453e87ada0b475dc3
2015-12-08Mark math tests as broken with clang and x86_64.Dan Albert
We're still suffering from the x86_64 long double issues in clang. Bug: http://b.android.com/177432 Change-Id: I57fe770c6738666347f80f6ccbb19a04e9f7d03b
2015-12-07Disable LTO tests for clang + mips.Dan Albert
Clang supports LTO through gold, and we don't support gold for mips. Change-Id: Id64f63bf17ea0e85c5e541c4e1187ac09bbe87ac
2015-12-07Fix LTO tests for aarch64.Dan Albert
Clang LTO is only supported with gold. ARM64 still uses bfd by default, so make sure this test uses gold when we're using clang. Change-Id: Iac8080eff23e4fcdd5f7be4e2687d938472843d2
2015-12-04Disable GCC test for clang.Dan Albert
Clang doesn't know all these builtins. Change-Id: I89fd731df955685160997e7f5fe1221cc50c8a6a
2015-12-04Restrict asan-smoke to KitKat and newer.Dan Albert
Change-Id: I4eec8450302e2d82d1f29c159baaf2e9f5464674
2015-12-04Ward off some nasal demons from tests.Dan Albert
Change-Id: I81f359d7452ee8902959fee8ee2d4c2e378f58c3
2015-12-04Prevent DCE from deleting new/delete in a test.Dan Albert
Change-Id: I0edaff5e393bee10b8fa9c117fe388a24a3f23e8
2015-12-04Further improve ASAN compatibility check.Dan Albert
Change-Id: Ic90944c8cb0dbb7ca534ee098e8048c0eaba6a50
2015-12-04Further specify test broken conditions.Dan Albert
Looks like stlport's filter1 is actually only broken with GCC. Bug: http://b/24403847 Change-Id: Id8823717b2305f2b2d07844c05f28e5bf4fb1c98
2015-12-04Mark an optimization test as broken for clang.Dan Albert
Clang doesn't have this optimization yet. Bug: http://b/26031639 Change-Id: Ia2d74330fef2213cddc7b5dfe3d6d0a7f7c9fa5f
2015-12-04Disable test for armeabi.Dan Albert
The test is making sure that LIBCXX_FORCE_REBUILD works, and I really don't care about supporting that for ARM5 (and it currently doesn't work). Change-Id: I832d9d1d88ff06669c72f03f8ea6907c3aa6c23f
2015-12-04Disable GCC compiler test for clang.Dan Albert
Change-Id: Icc02192572e392b0ff5acb14e3572ed4ce1e54b3
2015-12-04Disable clang for GCC compiler test.Dan Albert
Change-Id: Ia79c68a8990df63eb2df6fd081d989e4aa297470
2015-12-04Stop forcing a test to android-18.Dan Albert
Doesn't seem to be any reason to build for 18 in the original bug, and removing that lets us run on more targets. Change-Id: I2a7fc921aa70edac1f012635336991a6e8d38664
2015-12-04Mark test as broken on Gingerbread.Dan Albert
Bug: http://b/26015756 Change-Id: I1edc0536c08fad8be4dee4ff61b5a692a8ab083a
2015-12-04Gingerbread support for the test runner.Dan Albert
Wow. Gingerbread didn't support `mkdir -p` or `rm -f`. Avoid using either of those. Change-Id: I9f79613465e8608f89bad9a77c232620a3ca8b4e
2015-12-03Fix doc, missed a --amend earlier.Dan Albert
Change-Id: I63cb52c17bef1ae83e75df896e1743239758622d
2015-12-03Mark test as broken for JB armeabi-v7a-hard.Dan Albert
Bug: http://b/26014163 Change-Id: I301423c2306be641c813891411f3bd95e128d4a7
2015-12-03Fix getcwd use to work on old devices.Dan Albert
Apparently not all versions of Android supported the getcwd(3) extension of mallocing memory when passed NULL, so this would create the string "(null)/libbar.so" on JB. Change-Id: I0174762c53337577a25893402fe74ae3481539f5
2015-12-03Mark math tests as unsupported before 18.Dan Albert
This test is checking symbols that weren't present before API 18. Change-Id: Id44a8c7c9654018c6d5bb578dcf84354a0bd3cdc
2015-12-03Mark badalloc1 as failing only for M+.Dan Albert
This test passes before M. Bug: http://b/26002885 Change-Id: I92b0cac936e74d0036aeb42d99481ed17e4c389b