未验证 提交 e15786d1 编写于 作者: O openharmony_ci 提交者: Gitee

!7600 hidebug测试用例文件名后缀回退

Merge pull request !7600 from chenxuihui/master
......@@ -426,7 +426,7 @@ describe('HidebugJsTest', function () {
}
hidebug.stopJsCpuProfiling();
var pid = process.pid;
let path = "/proc/" + pid + "/root/data/storage/el2/base/files/" + filename + ".cpuprofile";
let path = "/proc/" + pid + "/root/data/storage/el2/base/files/" + filename + ".json";
let data = fileio.readTextSync(path);
if (data.includes("napi")) {
expect(true).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册