Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Issue 1547343002: Remove DISABLED_ON_ macros. (Closed)

Created:
4 years, 12 months ago by pbos-webrtc
Modified:
4 years, 11 months ago
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), zhuangzesen_agora.io, tlegrand-webrtc, peah-webrtc, andresp, bjornv1, video-team_agora.io, tterriberry_mozilla.com, sdk-team_agora.io, minyue-webrtc, mflodman, Andrew MacDonald, zhengzhonghou_agora.io, stefan-webrtc, kwiberg-webrtc, henrika_webrtc, audio-team_agora.io, hlundin-webrtc, the sun, perkj_webrtc, aluebs-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove DISABLED_ON_ macros. Macro incorrectly displays DISABLED_ON_ANDROID in test names for parameterized tests under --gtest_list_tests, causing tests to be disabled on all platforms since they contain the DISABLED_ prefix rather than their expanded variants. This expands the macro variants to inline if they're disabled or not, and removes building some tests under configurations where they should fail, instead of building them but disabling them by default. The change also removes gtest_disable.h as an unused include from many other files. BUG=webrtc:5387, webrtc:5400 R=kjellander@webrtc.org, phoglund@webrtc.org TBR=henrik.lundin@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/e2976c87f7ba627fa1e1246f0ccfb34b4b9f3a73

Patch Set 1 #

Patch Set 2 : disable NetEqStereoTestLosses on all platforms #

Patch Set 3 : win compile #

Total comments: 4

Patch Set 4 : move test_f for windows #

Patch Set 5 : disable testredefec on android again #

Patch Set 6 : MAYBE_ yo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -267 lines) Patch
M webrtc/base/autodetectproxy_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/criticalsection_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/logging_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/messagequeue_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/nat_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/nullsocketserver_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/physicalsocketserver_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/proxy_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/sharedexclusivelock_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/signalthread_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/sslstreamadapter_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/stream_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/task_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/testclient_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/thread_checker_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/thread_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/virtualsocket_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/call/rtc_event_log_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/common_audio/signal_processing/real_fft_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/common_video/libyuv/scaler_unittest.cc View 1 2 3 4 5 4 chunks +18 lines, -4 lines 0 comments Download
M webrtc/libjingle/xmllite/xmlelement_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc View 1 2 3 4 5 9 chunks +42 lines, -13 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc View 1 2 3 4 5 23 chunks +78 lines, -45 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_stereo_unittest.cc View 1 2 3 4 5 6 chunks +13 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_unittest.cc View 1 2 3 4 5 5 chunks +9 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/test/Tester.cc View 1 2 3 4 4 chunks +28 lines, -18 lines 0 comments Download
M webrtc/modules/audio_coding/test/target_delay_unittest.cc View 1 2 3 4 5 2 chunks +32 lines, -6 lines 0 comments Download
M webrtc/modules/audio_processing/aec/system_delay_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/test/audio_processing_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/transient/file_utils_unittest.cc View 1 2 3 4 5 14 chunks +80 lines, -16 lines 0 comments Download
M webrtc/modules/audio_processing/transient/transient_detector_unittest.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/transient/wpd_tree_unittest.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/vad/standalone_vad_unittest.cc View 2 chunks +5 lines, -2 lines 0 comments Download
M webrtc/modules/media_file/media_file_unittest.cc View 1 2 3 4 5 3 chunks +14 lines, -4 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/overuse_detector_unittest.cc View 1 2 3 4 5 9 chunks +56 lines, -17 lines 0 comments Download
M webrtc/modules/utility/source/file_player_unittests.cc View 1 2 3 4 5 3 chunks +12 lines, -3 lines 0 comments Download
M webrtc/modules/video_capture/test/video_capture_unittest.cc View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc View 1 2 3 4 5 5 chunks +30 lines, -7 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc View 1 2 3 4 5 3 chunks +12 lines, -3 lines 0 comments Download
M webrtc/modules/video_coding/video_sender_unittest.cc View 1 2 3 4 5 3 chunks +13 lines, -5 lines 0 comments Download
M webrtc/modules/video_processing/test/brightness_detection_test.cc View 1 2 3 4 5 1 chunk +6 lines, -2 lines 0 comments Download
M webrtc/modules/video_processing/test/content_metrics_test.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M webrtc/modules/video_processing/test/deflickering_test.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M webrtc/modules/video_processing/test/video_processing_unittest.cc View 7 chunks +30 lines, -7 lines 0 comments Download
M webrtc/test/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/test/test.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/test/testsupport/fileutils_unittest.cc View 1 2 3 4 5 3 chunks +14 lines, -3 lines 0 comments Download
D webrtc/test/testsupport/gtest_disable.h View 1 chunk +0 lines, -57 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/voice_engine/voe_codec_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 42 (16 generated)
pbos-webrtc
disable NetEqStereoTestLosses on all platforms
4 years, 12 months ago (2015-12-28 21:24:18 UTC) #1
pbos-webrtc
PTAL, this foot-shooting gun needs to go. kjellander@: Please review in general. henrik.lundin@: I found ...
4 years, 12 months ago (2015-12-28 21:28:33 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547343002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547343002/20001
4 years, 12 months ago (2015-12-28 21:29:03 UTC) #5
commit-bot: I haz the power
Dry run: Exceeded global retry quota
4 years, 12 months ago (2015-12-28 22:32:47 UTC) #7
pbos-webrtc
win compile
4 years, 12 months ago (2015-12-29 00:02:54 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547343002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547343002/40001
4 years, 12 months ago (2015-12-29 00:06:15 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_drmemory_light on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_drmemory_light/builds/8834)
4 years, 12 months ago (2015-12-29 00:10:17 UTC) #12
kjellander_webrtc
Please use the MAYBE_ pattern as described on https://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/handling-a-failing-test. Adding phoglund as the original author ...
4 years, 11 months ago (2016-01-04 12:52:45 UTC) #14
pbos-webrtc
move test_f for windows
4 years, 11 months ago (2016-01-04 12:59:08 UTC) #15
pbos-webrtc
disable testredefec on android again
4 years, 11 months ago (2016-01-04 13:01:21 UTC) #16
pbos-webrtc
PTAL https://codereview.webrtc.org/1547343002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc File webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc (right): https://codereview.webrtc.org/1547343002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc#newcode817 webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc:817: #if defined(WEBRTC_ANDROID) On 2016/01/04 12:52:45, kjellander (webrtc) wrote: ...
4 years, 11 months ago (2016-01-04 13:01:27 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547343002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547343002/80001
4 years, 11 months ago (2016-01-04 13:01:38 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_tsan2 on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_tsan2/builds/9015)
4 years, 11 months ago (2016-01-04 13:33:09 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547343002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547343002/80001
4 years, 11 months ago (2016-01-04 13:54:11 UTC) #23
phoglund
lgtm
4 years, 11 months ago (2016-01-04 14:01:55 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-04 14:13:55 UTC) #26
kjellander_webrtc
https://codereview.webrtc.org/1547343002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc File webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc (right): https://codereview.webrtc.org/1547343002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc#newcode817 webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc:817: #if defined(WEBRTC_ANDROID) On 2016/01/04 13:01:27, pbos-webrtc wrote: > On ...
4 years, 11 months ago (2016-01-04 14:59:07 UTC) #27
pbos-webrtc
MAYBE_ yo
4 years, 11 months ago (2016-01-04 16:11:07 UTC) #28
pbos-webrtc
Converted all back that I could find, PTAL https://codereview.webrtc.org/1547343002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc File webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc (right): https://codereview.webrtc.org/1547343002/diff/40001/webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc#newcode817 webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc:817: #if ...
4 years, 11 months ago (2016-01-04 16:11:42 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547343002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547343002/100001
4 years, 11 months ago (2016-01-04 16:11:57 UTC) #31
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-04 17:56:15 UTC) #33
kjellander_webrtc
Looks great. Thanks a bunch for taking the time to do all these tedious changes! ...
4 years, 11 months ago (2016-01-04 19:38:10 UTC) #34
pbos-webrtc
TBR=henrik.lundin@ who I've assigned the re-enabling to.
4 years, 11 months ago (2016-01-04 21:43:31 UTC) #37
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/e2976c87f7ba627fa1e1246f0ccfb34b4b9f3a73 Cr-Commit-Position: refs/heads/master@{#11150}
4 years, 11 months ago (2016-01-04 21:44:22 UTC) #39
pbos-webrtc
Committed patchset #6 (id:100001) manually as e2976c87f7ba627fa1e1246f0ccfb34b4b9f3a73 (presubmit successful).
4 years, 11 months ago (2016-01-04 21:44:30 UTC) #41
hlundin-webrtc
4 years, 11 months ago (2016-01-08 13:46:45 UTC) #42
Message was sent while issue was closed.
webrtc/modules/audio_*: lgtm

Powered by Google App Engine
This is Rietveld 408576698