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

Side by Side Diff: chromecast/BUILD.gn

Issue 2349373003: [Chromecast] Disable net_unittests when running with sanitizers. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/locales.gni") 7 import("//build/config/locales.gni")
8 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
9 import("//chromecast/build/tests/cast_test.gni") 10 import("//chromecast/build/tests/cast_test.gni")
10 import("//chromecast/chromecast.gni") 11 import("//chromecast/chromecast.gni")
11 import("//media/media_options.gni") 12 import("//media/media_options.gni")
12 import("//tools/grit/repack.gni") 13 import("//tools/grit/repack.gni")
13 import("//ui/ozone/ozone.gni") 14 import("//ui/ozone/ozone.gni")
14 import("//v8/gni/v8.gni") 15 import("//v8/gni/v8.gni")
15 16
16 if (is_android) { 17 if (is_android) {
17 import("//build/config/android/rules.gni") 18 import("//build/config/android/rules.gni")
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 # Running a batch of net_unittests has high overhead, so 222 # Running a batch of net_unittests has high overhead, so
222 # run tests in batches of 25 to reduce number of batches (b/23156294). 223 # run tests in batches of 25 to reduce number of batches (b/23156294).
223 gtest_excludes = [ "CTLogVerifierTest.VerifiesValidConsistencyProofsFromRe ferenceGenerator" ] 224 gtest_excludes = [ "CTLogVerifierTest.VerifiesValidConsistencyProofsFromRe ferenceGenerator" ]
224 args = [ 225 args = [
225 "--test-launcher-timeout=90000", 226 "--test-launcher-timeout=90000",
226 "--test-launcher-batch-limit=25", 227 "--test-launcher-batch-limit=25",
227 ] 228 ]
228 } 229 }
229 } 230 }
230 filters += [ net_unittests_filter ] 231 filters += [ net_unittests_filter ]
232
233 # TODO(mbjorge): net_unittests do not complete when run with sanitizers,
234 # (in particular, TSAN and UBSAN), resulting in build machines getting stuck
235 # for many hours. Disable them for now, since these are getting run on
236 # Chromium bots anyway. (internal b/31279943)
237 if (using_sanitizer) {
238 tests -= [ "//net:net_unittests" ]
239 filters -= [ net_unittests_filter ]
240 }
231 } 241 }
232 242
233 # Creates the build and run lists for all test targets. 243 # Creates the build and run lists for all test targets.
234 cast_test_group_list("cast_test_lists") { 244 cast_test_group_list("cast_test_lists") {
235 build_list_path = "$root_out_dir/tests/build_test_list.txt" 245 build_list_path = "$root_out_dir/tests/build_test_list.txt"
236 246
237 run_list_path = "$root_out_dir/tests/run_test_list.txt" 247 run_list_path = "$root_out_dir/tests/run_test_list.txt"
238 248
239 additional_options = [ "--ozone-platform=headless --test-launcher-bot-mode" ] 249 additional_options = [ "--ozone-platform=headless --test-launcher-bot-mode" ]
240 250
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 apk_name = "CastShell" 432 apk_name = "CastShell"
423 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml" 433 android_manifest = "$root_gen_dir/cast_shell_manifest/AndroidManifest.xml"
424 android_manifest_dep = "//chromecast/browser/android:cast_shell_manifest" 434 android_manifest_dep = "//chromecast/browser/android:cast_shell_manifest"
425 deps = [ 435 deps = [
426 ":cast_shell_apk_assets", 436 ":cast_shell_apk_assets",
427 "//chromecast/android:libcast_shell_android", 437 "//chromecast/android:libcast_shell_android",
428 "//chromecast/browser/android:cast_shell_java", 438 "//chromecast/browser/android:cast_shell_java",
429 ] 439 ]
430 } 440 }
431 } 441 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698