Browse Source

fix ut compile

tags/v1.2.0
wangxiaotian22 3 years ago
parent
commit
a0abc42abf
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      tests/depends/error_manager/src/error_manager_stub.cc

+ 2
- 7
tests/depends/error_manager/src/error_manager_stub.cc View File

@@ -66,13 +66,8 @@
/// @param [in] msg: failed message map, key is error code, value is op_name
/// @return int 0(success) -1(fail)
///
int ErrorManager::ReportMstuneCompileFailedMsg(const std::map<std::string, std::string> &msg) { return 0; }

///
/// @brief save graph compile failed message from thread local map to global map
/// @param [in] graph_name: graph name
///
void ErrorManager::SaveMstuneCompileFailedMsg(const std::string &graph_name) {}
int ErrorManager::ReportMstuneCompileFailedMsg(const std::string &root_graph_name,
const std::map<std::string, std::string> &msg) { return 0; }

///
/// @brief get graph compile failed message in mstune case


Loading…
Cancel
Save