diff --git a/ReactCommon/fabric/uimanager/BUCK b/ReactCommon/fabric/uimanager/BUCK index dc23ab77f44dc4..c4c0d73df80235 100644 --- a/ReactCommon/fabric/uimanager/BUCK +++ b/ReactCommon/fabric/uimanager/BUCK @@ -79,6 +79,7 @@ fb_xplat_cxx_test( "-Wall", ], contacts = ["oncall+react_native@xmail.facebook.com"], + fbandroid_use_instrumentation_test = True, platforms = (ANDROID, APPLE), deps = [ "xplat//folly:molly", diff --git a/ReactCommon/fabric/uimanager/tests/UITemplateProcessorTest.cpp b/ReactCommon/fabric/uimanager/tests/UITemplateProcessorTest.cpp index 377e5daa31aad9..bd017694708d06 100644 --- a/ReactCommon/fabric/uimanager/tests/UITemplateProcessorTest.cpp +++ b/ReactCommon/fabric/uimanager/tests/UITemplateProcessorTest.cpp @@ -111,7 +111,9 @@ TEST(UITemplateProcessorTest, testSimpleBytecode) { *componentDescriptorRegistry, nativeModuleRegistry, mockReactNativeConfig_); +#ifndef NDEBUG LOG(INFO) << std::endl << root1->getDebugDescription(); +#endif auto props1 = std::dynamic_pointer_cast(root1->getProps()); ASSERT_NEAR(props1->opacity, 0.5, 0.001); ASSERT_STREQ(props1->testId.c_str(), "root"); @@ -147,7 +149,9 @@ TEST(UITemplateProcessorTest, testConditionalBytecode) { *componentDescriptorRegistry, nativeModuleRegistry, mockReactNativeConfig_); +#ifndef NDEBUG LOG(INFO) << std::endl << root1->getDebugDescription(); +#endif auto props1 = std::dynamic_pointer_cast(root1->getProps()); ASSERT_STREQ(props1->testId.c_str(), "root"); auto children1 = root1->getChildren();