forked from facebook/mcrouter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
efeaca4
commit 98bd45a
Showing
17 changed files
with
302 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* 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 <gtest/gtest.h> | ||
|
||
#include <folly/init/Init.h> | ||
|
||
/** | ||
* Main entry point shared by several test suites | ||
* in the mcrouter OSS build. | ||
*/ | ||
int main(int argc, char** argv) { | ||
::testing::InitGoogleTest(&argc, argv); | ||
folly::Init init( | ||
&argc, &argv, folly::InitOptions{}.removeFlags(false).useGFlags(false)); | ||
|
||
return RUN_ALL_TESTS(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
noinst_LIBRARIES = libcarbon_hello_goodbye.a | ||
|
||
thrift_sources = \ | ||
gen-cpp2/HelloGoodbye_types.cpp \ | ||
gen-cpp2/HelloGoodbye_types.h \ | ||
gen-cpp2/HelloGoodbye_types.tcc \ | ||
gen-cpp2/HelloGoodbye_data.cpp \ | ||
gen-cpp2/HelloGoodbye_data.h | ||
|
||
BUILT_SOURCES = $(thrift_sources) | ||
|
||
gen-cpp2/HelloGoodbye_types.cpp: gen-cpp2/HelloGoodbye_types.h $(top_srcdir)/lib/network/gen/gen-cpp2/Common_types.h | ||
gen-cpp2/HelloGoodbye_types.h: gen-cpp2/HelloGoodbye_types.tcc | ||
gen-cpp2/HelloGoodbye_types.tcc: gen-cpp2/HelloGoodbye_data.cpp | ||
gen-cpp2/HelloGoodbye_data.cpp: gen-cpp2/HelloGoodbye_data.h | ||
gen-cpp2/HelloGoodbye_data.h: HelloGoodbye.thrift | ||
@FBTHRIFT@ -gen mstch_cpp2:stack_arguments,sync_methods_return_try,deprecated_terse_writes,include_prefix=mcrouter/lib/carbon/example/gen/ -I $(top_srcdir)/.. -I $(INSTALL_DIR)/include/ HelloGoodbye.thrift | ||
|
||
libcarbon_hello_goodbye_a_SOURCES = \ | ||
$(thrift_sources) \ | ||
HelloGoodbyeMessages.h \ | ||
HelloGoodbyeMessages-inl.h \ | ||
HelloGoodbyeMessagesThrift.cpp | ||
|
||
libcarbon_hello_goodbye_a_CPPFLAGS = -I$(top_srcdir)/.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
BUILT_SOURCES = \ | ||
gen-cpp2/CarbonTest_types.cpp \ | ||
gen-cpp2/CarbonTest_types.h \ | ||
gen-cpp2/CarbonTest_types.tcc \ | ||
gen-cpp2/CarbonTest_data.cpp \ | ||
gen-cpp2/CarbonTest_data.h | ||
|
||
gen-cpp2/CarbonTest_types.cpp: gen-cpp2/CarbonTest_types.h | ||
gen-cpp2/CarbonTest_types.h: gen-cpp2/CarbonTest_types.tcc | ||
gen-cpp2/CarbonTest_types.tcc: gen-cpp2/CarbonTest_data.cpp | ||
gen-cpp2/CarbonTest_data.cpp: gen-cpp2/CarbonTest_data.h | ||
gen-cpp2/CarbonTest_data.h: CarbonTest.thrift | ||
@FBTHRIFT@ -gen mstch_cpp2:stack_arguments,sync_methods_return_try,deprecated_terse_writes,include_prefix=mcrouter/lib/network/test/gen/ -I $(top_srcdir)/.. -I $(INSTALL_DIR)/include/ CarbonTest.thrift |
Oops, something went wrong.