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
This commit is contained in:
andrew@webrtc.org
2012-01-20 19:06:38 +00:00
parent 2638577f03
commit e2ed5baf47
3 changed files with 28 additions and 25 deletions

View File

@@ -998,6 +998,9 @@ TEST_F(ApmTest, DebugDump) {
#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 @@ TEST_F(ApmTest, Process) {
WriteMessageLiteToFile(output_filename, output_data);
}
}
#endif // defined(WEBRTC_LINUX) && defined(WEBRTC_ARCH_X86_64) &&
// !defined(NDEBUG)
} // namespace
int main(int argc, char** argv) {