提交 3f708482 编写于 作者: C chenxuihui

hidebug测试用例文件后缀回退

Signed-off-by: Nchenxuihui <chenxuhui2@huawei.com>
上级 745ebc5f
......@@ -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.
先完成此消息的编辑!
想要评论请 注册