-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
5 changed files
with
612 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "gflags/gflags.h" | ||
#include "glog/logging.h" | ||
#include "gtest/gtest.h" | ||
|
||
#include "utils/utils_cmd.h" | ||
|
||
DECLARE_string(tera_master_port); | ||
DECLARE_string(log_dir); | ||
DECLARE_bool(tera_zk_enabled); | ||
DECLARE_string(tera_leveldb_env_type); | ||
DECLARE_string(tera_fake_zk_path_prefix); | ||
|
||
int main(int argc, char** argv) { | ||
::google::ParseCommandLineFlags(&argc, &argv, true); | ||
::google::InitGoogleLogging(argv[0]); | ||
|
||
FLAGS_tera_zk_enabled = false; | ||
FLAGS_tera_leveldb_env_type = "local"; | ||
|
||
tera::utils::SetupLog("master_test"); | ||
::testing::InitGoogleTest(&argc, argv); | ||
|
||
return RUN_ALL_TESTS(); | ||
} | ||
|
Oops, something went wrong.