Disable tests failing on Android ARM64 (Nexus9).

BUG=4198,4199,4200
TBR=andrew@webrtc.org
TESTED=Printed using #pragma message to check that the define was properly used.

Review URL: https://webrtc-codereview.appspot.com/33919004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@8090 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
kjellander@webrtc.org
2015-01-19 12:46:01 +00:00
parent ff9462eb54
commit a32d15448d
4 changed files with 112 additions and 16 deletions

View File

@ -30,13 +30,19 @@ static const int kSampleRatesHz[] = {ts::kSampleRate8kHz,
static const size_t kNumberOfSampleRates =
sizeof(kSampleRatesHz) / sizeof(*kSampleRatesHz);
// Fails Android ARM64. https://code.google.com/p/webrtc/issues/detail?id=4200
#if defined(WEBRTC_ANDROID) && defined(__aarch64__)
#define MAYBE_CorrectnessBasedOnFiles DISABLED_CorrectnessBasedOnFiles
#else
#define MAYBE_CorrectnessBasedOnFiles CorrectnessBasedOnFiles
#endif
// This test is for the correctness of the transient detector.
// Checks the results comparing them with the ones stored in the detect files in
// the directory: resources/audio_processing/transient/
// The files contain all the results in double precision (Little endian).
// The audio files used with different sample rates are stored in the same
// directory.
TEST(TransientDetectorTest, CorrectnessBasedOnFiles) {
TEST(TransientDetectorTest, MAYBE_CorrectnessBasedOnFiles) {
for (size_t i = 0; i < kNumberOfSampleRates; ++i) {
int sample_rate_hz = kSampleRatesHz[i];