Enable audioproc_unittest on more platforms.

Also, re-enable the floating point profile on Linux, and disable test_fec until we can reduce the running time.

BUG=none
TEST=none

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1536 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2012-01-24 17:40:21 +00:00
parent f6bb77a6f0
commit 24f1c90577
2 changed files with 31 additions and 28 deletions

View File

@ -122,7 +122,9 @@ DEFAULT_LINUX_TESTS = ["audio_coding_module_test",
"signal_processing_unittests", "signal_processing_unittests",
"system_wrappers_unittests", "system_wrappers_unittests",
"test_bwe", "test_bwe",
"test_fec", # TODO(andrew): enable test_fec (and below) when its
# running time is reduced.
#"test_fec",
"udp_transport_unittests", "udp_transport_unittests",
"vad_unittests", "vad_unittests",
"video_coding_unittests", "video_coding_unittests",
@ -149,7 +151,7 @@ DEFAULT_MACOS_TESTS = ["audio_coding_module_test",
"signal_processing_unittests", "signal_processing_unittests",
"system_wrappers_unittests", "system_wrappers_unittests",
"test_bwe", "test_bwe",
"test_fec", #"test_fec",
"udp_transport_unittests", "udp_transport_unittests",
"vad_unittests", "vad_unittests",
"video_coding_unittests", "video_coding_unittests",
@ -158,25 +160,26 @@ DEFAULT_MACOS_TESTS = ["audio_coding_module_test",
"voice_engine_unittests", "voice_engine_unittests",
"vp8_unittests", "vp8_unittests",
"webrtc_utility_unittests"] "webrtc_utility_unittests"]
# TODO(andrew): most tests should now run properly on Windows.
DEFAULT_WIN_TESTS = ["audio_coding_unittests", DEFAULT_WIN_TESTS = ["audio_coding_unittests",
"audioproc_unittest", "audioproc_unittest",
"libyuv_unittests", "libyuv_unittests",
"neteq_unittests", "neteq_unittests",
"resampler_unittests", "resampler_unittests",
"system_wrappers_unittests", "system_wrappers_unittests",
#"test_fec"
"vad_unittests", "vad_unittests",
"video_engine_core_unittests", "video_engine_core_unittests",
"video_processing_unittests",
"voice_engine_unittests", "voice_engine_unittests",
"vp8_unittests"] "vp8_unittests"]
HEADLESS_LINUX = ["audio_device_test_api" HEADLESS_LINUX = ["audio_device_test_api",
"audio_device_test_func", "audio_device_test_func"]
"test_fec", HEADLESS_MACOS = ["audio_device_test_api",
"video_processing_unittests"] "audio_device_test_func"]
HEADLESS_MACOS = ["audio_device_test_api" HEADLESS_WIN = ["audio_device_test_api",
"audio_device_test_func",
"video_processing_unittests"]
HEADLESS_WIN = ["audio_device_test_api"
"audio_device_test_func"] "audio_device_test_func"]
############# Linux Builders ####################################### ############# Linux Builders #######################################

View File

@ -43,7 +43,6 @@ class WebRTCFactory(factory.BuildFactory):
self.coverage_url = "http://www.corp.google.com/~%s" % self.account self.coverage_url = "http://www.corp.google.com/~%s" % self.account
self.coverage_dir = "/home/%s/www" % self.account self.coverage_dir = "/home/%s/www" % self.account
def EnableBuild(self, force_sync): def EnableBuild(self, force_sync):
"""Build the binary [must be overridden].""" """Build the binary [must be overridden]."""
pass pass
@ -336,10 +335,11 @@ class WebRTCLinuxFactory(WebRTCFactory):
test: test to be run. test: test to be run.
""" """
if test == "audioproc_unittest": if test == "audioproc_unittest":
self.AddCommonTestRunStep(test)
self.AddCommonGYPStep("webrtc.gyp", gyp_params=["-Dprefer_fixed_point=1"], self.AddCommonGYPStep("webrtc.gyp", gyp_params=["-Dprefer_fixed_point=1"],
descriptor="gyp_tests_fp") descriptor="fixed_point")
self.AddCommonMakeStep(test, descriptor="_fixed_point") self.AddCommonMakeStep(test, descriptor="make_fixed_point")
self.AddCommonTestRunStep(test, descriptor="_fixed_point") self.AddCommonTestRunStep(test, descriptor="fixed_point")
elif test == "signal_processing_unittests": elif test == "signal_processing_unittests":
self.AddCommonTestRunStep(test) self.AddCommonTestRunStep(test)
elif test == "resampler_unittests": elif test == "resampler_unittests":
@ -478,7 +478,7 @@ class WebRTCMacFactory(WebRTCFactory):
test: test to be run. test: test to be run.
""" """
if test == "audioproc_unittest": if test == "audioproc_unittest":
print "Does not run on Mac now" self.AddCommonTestRunStep(test)
elif test == "signal_processing_unittests": elif test == "signal_processing_unittests":
self.AddCommonTestRunStep(test) self.AddCommonTestRunStep(test)
elif test == "resampler_unittests": elif test == "resampler_unittests":
@ -600,7 +600,7 @@ class WebRTCWinFactory(WebRTCFactory):
test: test to be run. test: test to be run.
""" """
if test == "audioproc_unittest": if test == "audioproc_unittest":
print "Does not run on Windows now" self.AddCommonTestRunStep(test)
elif test == "resampler_unittests": elif test == "resampler_unittests":
self.AddCommonTestRunStep(test) self.AddCommonTestRunStep(test)
elif test == "vad_unittests": elif test == "vad_unittests":