提交 7c548dd5 编写于 作者: F FondMemoryVVV

Modify the format

Signed-off-by: NFondMemoryVVV <mashuai53@huawei.com>
上级 6dd7abb4
......@@ -71,20 +71,53 @@ action("tar_dllib") {
script = rebase_path(
"//test/xts/acts/commonlibrary/toolchain/libc-test/tar_files.py")
_outputs = [ "$target_out_dir/libc-test-lib.tar" ]
outputs = _outputs
if (target_cpu == "arm") {
_outputs = [ "$target_out_dir/libc-test-lib.tar" ]
outputs = _outputs
input_path = rebase_path("$dllib_path/musl/libc-test-lib")
output_path =
rebase_path("$dllib_path/suites/acts/testcases/libc-test-lib.tar")
input_path = rebase_path("$dllib_path/musl/libc-test-lib")
output_path =
rebase_path("$dllib_path/suites/acts/testcases/libc-test-lib.tar")
print("root_build_dir-49", root_build_dir)
args = [
"--input_path",
input_path,
"--output_path",
output_path,
"--temp_path",
"./libc-test-lib",
]
print("root_build_dir-49", root_build_dir)
args = [
"--input_path",
input_path,
"--output_path",
output_path,
"--temp_path",
"./libc-test-lib",
]
} else if (target_cpu == "arm64") {
_outputs = [ "$target_out_dir/libc-test-lib.tar" ]
outputs = _outputs
input_path = rebase_path("$dllib_path/musl/libc-test-lib")
output_path =
rebase_path("$dllib_path/suites/acts/testcases/libc-test-lib.tar")
print("root_build_dir-49", root_build_dir)
args = [
"--input_path",
input_path,
"--output_path",
output_path,
"--temp_path",
"./libc-test-lib",
]
} else {
_outputs = [ "" ]
outputs = _outputs
input_path = rebase_path("")
output_path = rebase_path("")
print("root_build_dir-49", root_build_dir)
args = [
"--input_path",
input_path,
"--output_path",
output_path,
"--temp_path",
"./libc-test-lib",
]
}
}
......@@ -23,7 +23,7 @@
"native-test-timeout": "120000",
"type": "CppTest",
"module-name": "ActToolChainTest",
"runtime-hint": "1s",
"runtime-hint": "100s",
"native-test-device-path": "/data/local/tmp"
},
"description": "Configuration for ActToolChainTest Tests"
......
......@@ -104,8 +104,8 @@ static int runTests(const char *argvs)
return -1;
}
//Process state
if (WIFEXITED(status)) {
if (WEXITSTATUS(status) == 0) {
if (WIFEXITED(status)) { //The right exit
if (WEXITSTATUS(status) == 0) { //operate successfully
return t_status;
}
printf("FAIL %s [status %d]\n", argvs, WEXITSTATUS(status));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册