提交 ccbae029 编写于 作者: S stivn

modified

Signed-off-by: Nstivn <sunteng10@huawei.com>
上级 92e608a0
......@@ -462,11 +462,13 @@ class CppTestDriver(IDriver):
self.config.device.stop_catch_device_log()
def _init_gtest(self):
self.config.device.hdc_command("remount")
self.config.device.hdc_command("target mount")
self.config.device.execute_shell_command(
"rm -rf %s" % self.config.target_test_path)
self.config.device.execute_shell_command(
"mkdir -p %s" % self.config.target_test_path)
self.config.device.execute_shell_command(
"mount -o rw,remount,rw /")
if "fuzztest" == self.config.testtype[0]:
self.config.device.execute_shell_command(
"mkdir -p %s" % os.path.join(self.config.target_test_path,
......@@ -648,7 +650,7 @@ class JSUnitTestDriver(IDriver):
self.config.device.execute_shell_command(
"mkdir -p %s" % self.config.target_test_path)
self.config.device.execute_shell_command(
"mount -o rw,remount,rw /%s" % "system")
"mount -o rw,remount,rw /")
def _run_jsunit(self, suite_file):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册