Enable audioproc_unittest on all platforms.
But, for the time being, limit the bit-exact test to 64-bit Linux debug.
TEST=build and run all configs on Linux, and standard configs on Win and Mac.
Review URL: https://webrtc-codereview.appspot.com/343005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1500 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/src/modules/audio_processing/test/unit_test.cc b/src/modules/audio_processing/test/unit_test.cc
index 6fe5905..fe7f8e2 100644
--- a/src/modules/audio_processing/test/unit_test.cc
+++ b/src/modules/audio_processing/test/unit_test.cc
@@ -998,6 +998,9 @@
#endif // WEBRTC_AUDIOPROC_DEBUG_DUMP
}
+// TODO(andrew): Make this test more robust such that it can be run on multiple
+// platforms. It currently requires bit-exactness.
+#if defined(WEBRTC_LINUX) && defined(WEBRTC_ARCH_X86_64) && !defined(NDEBUG)
TEST_F(ApmTest, Process) {
GOOGLE_PROTOBUF_VERIFY_VERSION;
webrtc::audioproc::OutputData output_data;
@@ -1237,6 +1240,9 @@
WriteMessageLiteToFile(output_filename, output_data);
}
}
+#endif // defined(WEBRTC_LINUX) && defined(WEBRTC_ARCH_X86_64) &&
+ // !defined(NDEBUG)
+
} // namespace
int main(int argc, char** argv) {