From faa593410c281fc04e30d704f6cc4ecba430e927 Mon Sep 17 00:00:00 2001 From: baker Date: Mon, 28 Dec 2020 20:21:07 +0800 Subject: [PATCH] fix ut --- metadef | 2 +- parser | 2 +- tests/depends/error_manager/src/error_manager_stub.cc | 9 ++------- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/metadef b/metadef index c14d2be3..e96b3d79 160000 --- a/metadef +++ b/metadef @@ -1 +1 @@ -Subproject commit c14d2be38171eed63416e71178774103faf1f5cd +Subproject commit e96b3d797ad7611357cc4f460e719a83aba3fc3d diff --git a/parser b/parser index 34559943..30f499c2 160000 --- a/parser +++ b/parser @@ -1 +1 @@ -Subproject commit 34559943b6cb645042a87d99bc88ead016b15b64 +Subproject commit 30f499c21c2c3cacbbde218e1fdd87165d67c1b6 diff --git a/tests/depends/error_manager/src/error_manager_stub.cc b/tests/depends/error_manager/src/error_manager_stub.cc index edf5a487..6bdd971f 100644 --- a/tests/depends/error_manager/src/error_manager_stub.cc +++ b/tests/depends/error_manager/src/error_manager_stub.cc @@ -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 &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 &msg) { return 0; } /// /// @brief get graph compile failed message in mstune case