Browse Source

fix

pull/1177/head
wjm 4 years ago
parent
commit
f4d7e780b7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      tests/ut/ge/graph/load/model_helper_unittest.cc

+ 1
- 2
tests/ut/ge/graph/load/model_helper_unittest.cc View File

@@ -59,9 +59,8 @@ TEST_F(UtestModelHelper, atc_test)
GEInit::Finalize();
char buffer[1024];
getcwd(buffer, 1024);
printf("%s", buffer);
string path=buffer;
string file_path=path + "Makefile";
string file_path=path + "/Makefile";
ModelTool::GetModelInfoFromOm(file_path.c_str(), model_def, modeldef_size);
ModelTool::GetModelInfoFromOm("123.om", model_def, modeldef_size);


Loading…
Cancel
Save