Skip to content

Commit

Permalink
Add testonly = true to the flutter/testing target and disable WTF tes…
Browse files Browse the repository at this point in the history
…ts that depend on ICU. (flutter#3271)
  • Loading branch information
chinmaygarde authored Nov 24, 2016
1 parent c4bd577 commit 55ed560
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sky/engine/wtf/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,13 @@ executable("wtf_unittests") {
"text/StringBuilderTest.cpp",
"text/StringImplTest.cpp",
"text/StringOperatorsTest.cpp",
"text/TextCodecReplacementTest.cpp",
"text/TextCodecUTF8Test.cpp",
"text/WTFStringTest.cpp",
"VectorTest.cpp",

# The following tests depend on either ICU or the locale. Disable them for
# now.
# "text/TextCodecReplacementTest.cpp",
# "text/WTFStringTest.cpp",
]

configs += [
Expand Down
2 changes: 2 additions & 0 deletions synchronization/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ source_set("synchronization") {
}

executable("synchronization_unittests") {
testonly = true

sources = [
"semaphore_unittest.cc",
]
Expand Down
2 changes: 2 additions & 0 deletions testing/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# found in the LICENSE file.

source_set("testing") {
testonly = true

sources = [
"//flutter/testing/run_all_unittests.cc",
]
Expand Down

0 comments on commit 55ed560

Please sign in to comment.