Ensures that modules_unittests runs on iOS
BUG=4752 R=tkchin@chromium.org Review URL: https://codereview.webrtc.org/1171033002. Cr-Commit-Position: refs/heads/master@{#9408}
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
#include "webrtc/test/testsupport/fileutils.h"
|
||||
#include "webrtc/test/testsupport/gtest_disable.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -60,13 +61,13 @@ void RunAnalysisTest(const std::string& audio_filename,
|
||||
fclose(data_file);
|
||||
}
|
||||
|
||||
TEST(AudioClassifierTest, DoAnalysisMono) {
|
||||
TEST(AudioClassifierTest, DISABLED_ON_IOS(DoAnalysisMono)) {
|
||||
RunAnalysisTest(test::ResourcePath("short_mixed_mono_48", "pcm"),
|
||||
test::ResourcePath("short_mixed_mono_48", "dat"),
|
||||
1);
|
||||
}
|
||||
|
||||
TEST(AudioClassifierTest, DoAnalysisStereo) {
|
||||
TEST(AudioClassifierTest, DISABLED_ON_IOS(DoAnalysisStereo)) {
|
||||
RunAnalysisTest(test::ResourcePath("short_mixed_stereo_48", "pcm"),
|
||||
test::ResourcePath("short_mixed_stereo_48", "dat"),
|
||||
2);
|
||||
|
||||
Reference in New Issue
Block a user