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) {
diff --git a/tools/continuous_build/master.cfg b/tools/continuous_build/master.cfg
index a9782a3..545b52b 100755
--- a/tools/continuous_build/master.cfg
+++ b/tools/continuous_build/master.cfg
@@ -106,6 +106,7 @@
                        "audio_conference_mixer_unittests",
                        "audio_device_test_api",
                        "audio_device_test_func",
+                       "audioproc_unittest",
                        "cng_unittests",
                        "g711_unittests",
                        "g722_unittests",
@@ -118,8 +119,8 @@
                        "signal_processing_unittests",
                        "system_wrappers_unittests",
                        "test_bwe",
-                       "test_fec",         
-                       "udp_transport_unittests",       
+                       "test_fec",
+                       "udp_transport_unittests",
                        "vad_unittests",
                        "video_coding_unittests",
                        "video_processing_unittests",
@@ -130,6 +131,7 @@
                        "audio_conference_mixer_unittests",
                        "audio_device_test_api",
                        "audio_device_test_func",
+                       "audioproc_unittest",
                        "cng_unittests",
                        "g711_unittests",
                        "g722_unittests",
@@ -142,15 +144,16 @@
                        "signal_processing_unittests",
                        "system_wrappers_unittests",
                        "test_bwe",
-                       "test_fec",         
-                       "udp_transport_unittests",       
+                       "test_fec",
+                       "udp_transport_unittests",
                        "vad_unittests",
                        "video_coding_unittests",
                        "video_processing_unittests",
                        "voice_engine_unittests",
                        "vp8_unittests",
                        "webrtc_utility_unittests"]
-DEFAULT_WIN_TESTS = ["libyuv_unittests",
+DEFAULT_WIN_TESTS = ["audioproc_unittest",
+                     "libyuv_unittests",
                      "neteq_unittests",
                      "resampler_unittests",
                      "system_wrappers_unittests",
@@ -158,16 +161,14 @@
                      "voice_engine_unittests",
                      "vp8_unittests"]
 
-HEADLESS_LINUX = ["audio_device_test_api"
+HEADLESS_LINUX = ["audio_device_test_api",
                   "audio_device_test_func",
-                  "audioproc_unittest",
                   "test_fec",
                   "video_processing_unittests"]
-HEADLESS_MACOS = ["audio_device_test_api"
+HEADLESS_MACOS = ["audio_device_test_api",
                   "audio_device_test_func",
-                  "audioproc_unittest",
                   "video_processing_unittests"]
-HEADLESS_WIN = ["audio_device_test_api"
+HEADLESS_WIN = ["audio_device_test_api",
                 "audio_device_test_func"]
 
 ############# Linux Builders #######################################
@@ -204,6 +205,7 @@
 linux_clang.EnableBuild(clang=True)
 linux_clang.EnableHeadLess(HEADLESS_LINUX)
 linux_clang.EnableTests(DEFAULT_LINUX_TESTS)
+
 ############# Mac Builders #######################################
 mac_factory = utils.WebRTCMacFactory()
 mac_factory.EnableBuild(build_type="both")
diff --git a/tools/continuous_build/webrtc_buildbot/utils.py b/tools/continuous_build/webrtc_buildbot/utils.py
index d18251e..397e2ff 100755
--- a/tools/continuous_build/webrtc_buildbot/utils.py
+++ b/tools/continuous_build/webrtc_buildbot/utils.py
@@ -210,7 +210,7 @@
         name="make_%s" % make_descriptor))
 
   def AddCommonGYPStep(self, gyp_file, gyp_params=[], descriptor="gyp"):
-    cmd = ["./build/gyp_chromium", "--depth=.", gyp_file] 
+    cmd = ["./build/gyp_chromium", "--depth=.", gyp_file]
     cmd += gyp_params + self.gyp_params
     self.addStep(shell.ShellCommand(command=cmd, workdir="build/trunk",
                                     description=[descriptor, "running..."],
@@ -225,7 +225,7 @@
     self.AddCommonStep(['lcov', '--extract', 'webrtc.info', '*/src/*',
                         '--output', 'test.info'],
                        workdir="build/trunk", descriptor="LCOV_Extract")
-    self.AddCommonStep(["lcov", "--remove", "test.info", "*/usr/include/*", 
+    self.AddCommonStep(["lcov", "--remove", "test.info", "*/usr/include/*",
                         "/third*", "/testing/*", "--output",
                         "final.info"],
                        workdir="build/trunk", descriptor="LCOV_Filter")
@@ -235,10 +235,10 @@
 
   def AddCommonTestSteps(self, test):
     """Add common steps for test.
-     
+
        test: test to be run.
     """
-    self.AddCommonMakeStep(test, descriptor="_test")  
+    self.AddCommonMakeStep(test, descriptor="_test")
     self.AddCommonTestRunStep(test, descriptor="_test")
 
   def EnableTest(self, test):
@@ -247,18 +247,13 @@
        test: test to be run.
     """
     if test == "audioproc_unittest":
-      self.AddCommonMakeStep(test, descriptor="_test")
-      self.AddCommonTestRunStep(test,
-           cmd=["../../../out/Debug/audioproc_unittest"],
-           workdir="build/trunk/test/data/audio_processing")
+      self.AddCommonTestRunStep(test)
       # Fixed point run:
-      self.AddCommonGYPStep("src/modules/modules.gyp",
+      self.AddCommonGYPStep("webrtc.gyp",
                             gyp_params=["-Dprefer_fixed_point=1"],
-                            descriptor="tests_fp")
-      self.AddCommonMakeStep(test, "_test_(FP)")
-      self.AddCommonTestRunStep(test, descriptor="_(FP)",
-           cmd=["../../../out/Debug/audioproc_unittest"],
-           workdir="build/trunk/test/data/audio_processing")
+                            descriptor="fixed_point")
+      self.AddCommonMakeStep(test, descriptor="_fixed_point")
+      self.AddCommonTestRunStep(test, descriptor="_fixed_point")
     elif test == "signal_processing_unittests":
       self.AddCommonTestRunStep(test, descriptor="_test")
     elif test == "resampler_unittests":
@@ -274,7 +269,7 @@
     elif test == "audio_device_test_api":
       self.AddCommonTestRunStep(test, descriptor="_test")
     elif test == "audio_device_test_func":
-      self.AddCommonTestRunStep(test, descriptor="_test")    
+      self.AddCommonTestRunStep(test, descriptor="_test")
     elif test == "audio_coding_module_test":
       self.AddCommonTestRunStep(test, descriptor="_test")
     elif test == "video_processing_unittests":