mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
remove use of folly::init (#48573)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48573 changelog: [internal] remove main.cpp for cxxreact/tests. It is not needed for tests to work and it breaks build for C++ only tests. Reviewed By: javache Differential Revision: D67975182 fbshipit-source-id: b9cbc5b5b6a87aafc69448e99877e664ed2d5af2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b5155fba89
commit
8d67d51bdc
@@ -1,15 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#include <folly/init/Init.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
folly::init(&argc, &argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
Reference in New Issue
Block a user