Add testonly = true to the flutter/testing target and disable WTF tests that depend on ICU. (#3271)

This commit is contained in:
Chinmay Garde 2016-11-23 16:12:39 -08:00 committed by GitHub
parent c4bd577379
commit 55ed56040d
3 changed files with 9 additions and 2 deletions

View File

@ -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 += [

View File

@ -18,6 +18,8 @@ source_set("synchronization") {
}
executable("synchronization_unittests") {
testonly = true
sources = [
"semaphore_unittest.cc",
]

View File

@ -3,6 +3,8 @@
# found in the LICENSE file.
source_set("testing") {
testonly = true
sources = [
"//flutter/testing/run_all_unittests.cc",
]