OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h" | 11 #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h" |
12 | 12 |
13 #include <assert.h> | 13 #include <assert.h> |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <string.h> | 15 #include <string.h> |
16 | 16 |
| 17 #include "gflags/gflags.h" |
17 #include "webrtc/system_wrappers/include/event_wrapper.h" | 18 #include "webrtc/system_wrappers/include/event_wrapper.h" |
18 #include "webrtc/typedefs.h" | 19 #include "webrtc/typedefs.h" |
19 #include "webrtc/voice_engine/test/auto_test/automated_mode.h" | 20 #include "webrtc/voice_engine/test/auto_test/automated_mode.h" |
20 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" | 21 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" |
21 #include "webrtc/voice_engine/voice_engine_defines.h" | 22 #include "webrtc/voice_engine/voice_engine_defines.h" |
22 | 23 |
23 DEFINE_bool(include_timing_dependent_tests, true, | 24 DEFINE_bool(include_timing_dependent_tests, true, |
24 "If true, we will include tests / parts of tests that are known " | 25 "If true, we will include tests / parts of tests that are known " |
25 "to break in slow execution environments (such as valgrind)."); | 26 "to break in slow execution environments (such as valgrind)."); |
26 DEFINE_bool(automated, false, | 27 DEFINE_bool(automated, false, |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 webrtc::voetest::InitializeGoogleTest(&argc, argv); | 104 webrtc::voetest::InitializeGoogleTest(&argc, argv); |
104 google::ParseCommandLineFlags(&argc, &argv, true); | 105 google::ParseCommandLineFlags(&argc, &argv, true); |
105 | 106 |
106 if (FLAGS_automated) { | 107 if (FLAGS_automated) { |
107 return webrtc::voetest::RunInAutomatedMode(); | 108 return webrtc::voetest::RunInAutomatedMode(); |
108 } | 109 } |
109 | 110 |
110 return webrtc::voetest::RunInManualMode(); | 111 return webrtc::voetest::RunInManualMode(); |
111 } | 112 } |
112 #endif //#if !defined(WEBRTC_IOS) | 113 #endif //#if !defined(WEBRTC_IOS) |
OLD | NEW |