webrtc_m130/webrtc/system_wrappers/source/system_wrappers_tests.gyp

58 lines
1.9 KiB
Plaintext
Raw Normal View History

# Copyright (c) 2013 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.
{
'includes': ['../../build/common.gypi',],
'targets': [
{
'target_name': 'system_wrappers_unittests',
'type': 'executable',
'dependencies': [
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
'<(webrtc_root)/test/test.gyp:test_support_main',
],
'sources': [
Merge more tests into modules_{unit,integration}tests. A new test target named 'modules_integrationtests' is created and the following test targets were merged into it: * audio_coding_module_test * test_fec * video_coding_integrationtests * vp8_integrationtests A couple of other targets were merged into modules_unittests: * audio_coding_unittests * audioproc_unittest * common_unittests * video_coding_unittests * video_processing_unittests * vp8_unittests I wasn't able to merge audio_decoder_unittests and neteq_unittests due to conflicts with different defines in these tests. Some tests that have special requirements aren't merged into modules_integrationtests yet. I took the opportunity to rename them since the bot configs will need to be update anyway: * audio_device_test_api -> audio_device_integrationtests * video_capture_module_test -> video_capture_integrationtests * video_render_module_test -> video_render_integrationtests Exclude files were added for modules_integrationtests to make sure the memcheck and tsan bots doesn't tests that are too slow (audio_coding_module_test and vp8_integrationtests were previously disabled on those bots). Suppressions for AudioCodingModuleTest needed to be added to get modules_integrationtests to pass memcheck (even if the test is excluded from execution). BUG=1843 TEST=local execution on Linux and trybots (passing except the merged tests of course) R=andrew@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1656004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4228 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-14 20:09:44 +00:00
'../../common_unittest.cc',
'aligned_malloc_unittest.cc',
'clock_unittest.cc',
'condition_variable_unittest.cc',
'critical_section_unittest.cc',
'event_tracer_unittest.cc',
'list_unittest.cc',
'logging_unittest.cc',
'map_unittest.cc',
'data_log_unittest.cc',
'data_log_unittest_disabled.cc',
'data_log_helpers_unittest.cc',
'data_log_c_helpers_unittest.c',
'data_log_c_helpers_unittest.h',
'stringize_macros_unittest.cc',
'thread_unittest.cc',
'thread_posix_unittest.cc',
'unittest_utilities_unittest.cc',
],
'conditions': [
['enable_data_logging==1', {
'sources!': [ 'data_log_unittest_disabled.cc', ],
}, {
'sources!': [ 'data_log_unittest.cc', ],
}],
['os_posix==0', {
'sources!': [ 'thread_posix_unittest.cc', ],
}],
],
# Disable warnings to enable Win64 build, issue 1323.
'msvs_disabled_warnings': [
4267, # size_t to int truncation.
],
},
],
}