diff --git a/src/common/exception.h b/src/common/assert.h similarity index 100% rename from src/common/exception.h rename to src/common/assert.h diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 50aacc89413cc4f930d79d19d8932e592a66a872..b64f96bd9424fe9ff942f3b50d8ab071d9cfdc4b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -58,5 +58,5 @@ ADD_EXECUTABLE(test-gemm common/test_gemm.cpp) target_link_libraries(test-gemm paddle-mobile) # gen test -ADD_EXECUTABLE(test-exception common/test_exception.cpp) -target_link_libraries(test-exception paddle-mobile) \ No newline at end of file +ADD_EXECUTABLE(test-assert common/test_assert.cpp) +target_link_libraries(test-assert paddle-mobile) \ No newline at end of file diff --git a/test/common/test_exception.cpp b/test/common/test_assert.cpp similarity index 95% rename from test/common/test_exception.cpp rename to test/common/test_assert.cpp index 1b74b7c24ec6658542c826de32fe23781a229578..794e11e5ccc78e776268333879fe0d4066f9c459 100644 --- a/test/common/test_exception.cpp +++ b/test/common/test_assert.cpp @@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -#include "common/exception.h" +#include "common/assert.h" int main() { PADDLE_MOBILE_ASSERT(false, "assert");