mirror of
https://gitee.com/openharmony/xts_tools
synced 2024-11-27 18:10:45 +00:00
!18 xts_tools suite_lite.gni modify 2
Merge pull request !18 from jiyong/myfeature
This commit is contained in:
commit
61f51b4f96
@ -214,6 +214,18 @@ template("test_suite") {
|
||||
if (defined(invoker.prebuilts_files)) {
|
||||
_prebuilts_files = invoker.prebuilts_files
|
||||
}
|
||||
if (defined(invoker.version)) {
|
||||
_version = invoker.version
|
||||
_out_dir = rebase_path("${_suite_path}/testcases")
|
||||
_args1 = [
|
||||
"--method_name",
|
||||
"record_test_component_info",
|
||||
"--arguments",
|
||||
"out_dir=${_out_dir}#version=${_version}",
|
||||
]
|
||||
exec_script(rebase_path("$BUILD_DIR_PREFIX/utils.py"), _args1)
|
||||
}
|
||||
|
||||
_gen_args = [
|
||||
"archive_suite",
|
||||
"--suite_path",
|
||||
@ -236,18 +248,6 @@ template("test_suite") {
|
||||
args = _gen_args
|
||||
outputs = [ _output ]
|
||||
}
|
||||
|
||||
if (defined(invoker.version)) {
|
||||
_version = invoker.version
|
||||
_out_dir = rebase_path("${_suite_path}/testcases")
|
||||
_args1 = [
|
||||
"--method_name",
|
||||
"record_test_component_info",
|
||||
"--arguments",
|
||||
"out_dir=${_out_dir}#version=${_version}",
|
||||
]
|
||||
exec_script(rebase_path("$BUILD_DIR_PREFIX/utils.py"), _args1)
|
||||
}
|
||||
}
|
||||
|
||||
template("executable_suite") {
|
||||
|
Loading…
Reference in New Issue
Block a user