mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-30 22:12:42 +08:00
Stabilise tests in SandCastle and prepare for OSS
Reviewed By: mkonicek Differential Revision: D3244884 fb-gh-sync-id: d96dddca65175a90ee70aeb1c7530cea04860f61 fbshipit-source-id: d96dddca65175a90ee70aeb1c7530cea04860f61
This commit is contained in:
committed by
Facebook Github Bot 0
parent
50c2467905
commit
1b9b3ba58c
@@ -1,5 +1,12 @@
|
||||
include_defs('//ReactAndroid/DEFS')
|
||||
|
||||
# Tests that are too flaky to run on SandCastle
|
||||
# TODO t11057216 stabilise them
|
||||
SANDCASTLE_FLAKY = [
|
||||
'ReactHorizontalScrollViewTestCase.java',
|
||||
'ReactScrollViewTestCase.java',
|
||||
]
|
||||
|
||||
android_library(
|
||||
name = 'tests',
|
||||
srcs = glob(['**/*.java']),
|
||||
@@ -14,6 +21,20 @@ android_library(
|
||||
],
|
||||
)
|
||||
|
||||
android_library(
|
||||
name = 'stable-tests',
|
||||
srcs = glob(['**/*.java'], excludes=SANDCASTLE_FLAKY),
|
||||
deps = [
|
||||
react_native_integration_tests_target('java/com/facebook/react/testing:testing'),
|
||||
react_native_target('java/com/facebook/react/bridge:bridge'),
|
||||
react_native_target('java/com/facebook/react/uimanager:uimanager'),
|
||||
react_native_target('java/com/facebook/react/views/picker:picker'),
|
||||
],
|
||||
visibility = [
|
||||
'PUBLIC',
|
||||
],
|
||||
)
|
||||
|
||||
project_config(
|
||||
src_target = ':tests',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user