Browse Source

fix ut

pull/777/head
baker 5 years ago
parent
commit
faa593410c
3 changed files with 4 additions and 9 deletions
  1. +1
    -1
      metadef
  2. +1
    -1
      parser
  3. +2
    -7
      tests/depends/error_manager/src/error_manager_stub.cc

+ 1
- 1
metadef

@@ -1 +1 @@
Subproject commit c14d2be38171eed63416e71178774103faf1f5cd
Subproject commit e96b3d797ad7611357cc4f460e719a83aba3fc3d

+ 1
- 1
parser

@@ -1 +1 @@
Subproject commit 34559943b6cb645042a87d99bc88ead016b15b64
Subproject commit 30f499c21c2c3cacbbde218e1fdd87165d67c1b6

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

@@ -63,16 +63,11 @@

///
/// @brief report graph compile failed message such as error code and op_name in mstune case
/// @param [in] root_graph_name: root grapg name
/// @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