diff options
Diffstat (limited to 'src/test/test_arch.cc')
-rw-r--r-- | src/test/test_arch.cc | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/test/test_arch.cc b/src/test/test_arch.cc index e2c225b20ac..e215e703333 100644 --- a/src/test/test_arch.cc +++ b/src/test/test_arch.cc @@ -19,10 +19,10 @@ #include "arch/probe.h" #include "arch/intel.h" #include "arch/arm.h" -#include "global/global_init.h" -#include "common/ceph_argparse.h" #include "global/global_context.h" #include "gtest/gtest.h" +#include "test/unit.h" + #define FLAGS_SIZE 4096 @@ -84,18 +84,6 @@ TEST(Arch, all) #endif } -int main(int argc, char **argv) -{ - vector<const char*> args; - argv_to_vec(argc, (const char **)argv, args); - - global_init(NULL, args, CEPH_ENTITY_TYPE_CLIENT, CODE_ENVIRONMENT_UTILITY, 0); - common_init_finish(g_ceph_context); - - ::testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); -} - /* * Local Variables: |