Removing redundant codec unittest targets.
The following targets have been merged into audio_coding_unittests: * cng_unittests * g711_unittests * g722_unittests * isacfix_unittests * pcm16b_unittests Some of them were empty and were created with the assumption they were needed in order to get code coverage (which was actually not needed). The following test has been removed since it was empty: * audio_conference_mixer_unittests BUG=none TEST=trybots passing (well, except for the unittests that are removed, they're failing until the try server configuration is updated) Review URL: https://webrtc-codereview.appspot.com/971008 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3222 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
ba21c95e15
commit
ad0f3baf90
@ -30,24 +30,6 @@
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
'conditions': [
|
||||
['include_tests==1', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'cng_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'CNG',
|
||||
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||
'<(webrtc_root)/test/test.gyp:test_support_main',
|
||||
],
|
||||
'sources': [
|
||||
'cng_unittest.cc',
|
||||
],
|
||||
}, # CNG_unittests
|
||||
], # targets
|
||||
}], # include_tests
|
||||
], # conditions
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
|
@ -30,18 +30,6 @@
|
||||
'conditions': [
|
||||
['include_tests==1', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'g711_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'G711',
|
||||
'<(webrtc_root)/test/test.gyp:test_support_main',
|
||||
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||
],
|
||||
'sources': [
|
||||
'g711_unittest.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'g711_test',
|
||||
'type': 'executable',
|
||||
|
@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Empty test just to get code coverage metrics for this dir.
|
||||
*/
|
||||
#include "g711_interface.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(G711Test, EmptyTestToGetCodeCoverage) {}
|
@ -30,18 +30,6 @@
|
||||
'conditions': [
|
||||
['include_tests==1', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'g722_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'G722',
|
||||
'<(webrtc_root)/test/test.gyp:test_support_main',
|
||||
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||
],
|
||||
'sources': [
|
||||
'g722_unittest.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'G722Test',
|
||||
'type': 'executable',
|
||||
|
@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Empty test just to get code coverage metrics for this dir.
|
||||
*/
|
||||
#include "g722_interface.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(G722Test, EmptyTestToGetCodeCoverage) {}
|
@ -23,20 +23,6 @@
|
||||
'./fix/test/kenny.c',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'isacfix_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'iSACFix',
|
||||
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||
'<(webrtc_root)/test/test.gyp:test_support_main',
|
||||
],
|
||||
'sources': [
|
||||
'fix/source/filters_unittest.cc',
|
||||
'fix/source/filterbanks_unittest.cc',
|
||||
'fix/source/lpc_masking_model_unittest.cc',
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
@ -25,24 +25,6 @@
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
'conditions': [
|
||||
['include_tests==1', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'pcm16b_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'PCM16B',
|
||||
'<(webrtc_root)/test/test.gyp:test_support_main',
|
||||
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||
],
|
||||
'sources': [
|
||||
'pcm16b_unittest.cc',
|
||||
],
|
||||
}, # PCM16B_unittests
|
||||
], # targets
|
||||
}], # include_tests
|
||||
], # conditions
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
|
@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Empty test just to get code coverage metrics for this dir.
|
||||
*/
|
||||
#include "pcm16b.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(Pcm16bTest, EmptyTestToGetCodeCoverage) {}
|
@ -147,6 +147,8 @@
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'audio_coding_module',
|
||||
'CNG',
|
||||
'iSACFix',
|
||||
'NetEq',
|
||||
'<(webrtc_root)/common_audio/common_audio.gyp:vad',
|
||||
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||
@ -155,6 +157,10 @@
|
||||
],
|
||||
'sources': [
|
||||
'acm_neteq_unittest.cc',
|
||||
'../../codecs/cng/cng_unittest.cc',
|
||||
'../../codecs/isac/fix/source/filters_unittest.cc',
|
||||
'../../codecs/isac/fix/source/filterbanks_unittest.cc',
|
||||
'../../codecs/isac/fix/source/lpc_masking_model_unittest.cc',
|
||||
],
|
||||
}, # audio_coding_unittests
|
||||
],
|
||||
|
@ -43,25 +43,6 @@
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
'conditions': [
|
||||
['include_tests==1', {
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'audio_conference_mixer_unittests',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'audio_conference_mixer',
|
||||
'<(DEPTH)/testing/gtest.gyp:gtest',
|
||||
'<(webrtc_root)/test/test.gyp:test_support_main',
|
||||
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
||||
],
|
||||
'sources': [
|
||||
'audio_conference_mixer_unittest.cc',
|
||||
],
|
||||
}, # audio_conference_mixer_unittests
|
||||
], # targets
|
||||
}], # include_tests
|
||||
], # conditions
|
||||
}
|
||||
|
||||
# Local Variables:
|
||||
|
@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Empty test just to get code coverage metrics for this dir.
|
||||
*/
|
||||
#include "audio_conference_mixer.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(AudioConferenceMixerTest, EmptyTestToGetCodeCoverage) {}
|
@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Empty test just to get code coverage metrics for this dir.
|
||||
*/
|
||||
#include "file_player.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
TEST(FilePlayerTest, EmptyTestToGetCodeCoverage) {}
|
@ -80,7 +80,6 @@
|
||||
],
|
||||
'sources': [
|
||||
'audio_frame_operations_unittest.cc',
|
||||
'file_player_unittest.cc',
|
||||
],
|
||||
}, # webrtc_utility_unittests
|
||||
], # targets
|
||||
|
Loading…
x
Reference in New Issue
Block a user