34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
||
"path": "$OET_PATH/testcases/function_test/pkg_test/python3/python3-unversioned-command",
|
||
"machine num": 1,
|
||
"cases": [
|
||
{
|
||
"name": "test_python3-unversioned-command_python__upper_v",
|
||
"desc": "测试使用-V参数打印Python版本号并退出"
|
||
},
|
||
{
|
||
"name": "test_python3-unversioned-command_function_version",
|
||
"desc": "测试使用--version参数获取版本信息"
|
||
},
|
||
{
|
||
"name": "test_python3-unversioned-command_python__v",
|
||
"desc": "测试 python 命令的 -v 参数,用于启用详细模式(追踪导入语句)"
|
||
},
|
||
{
|
||
"name": "test_python3-unversioned-command_python__upper_s",
|
||
"desc": "测试 python 命令的 -S 参数,用于在初始化时不隐含导入 site 模块"
|
||
},
|
||
{
|
||
"name": "test_python3-unversioned-command_python__upper_e",
|
||
"desc": "测试python命令的-E参数,忽略PYTHON相关环境变量"
|
||
},
|
||
{
|
||
"name": "test_python3-unversioned-command_python__i",
|
||
"desc": "测试python命令的-i参数,脚本执行后进入交互式检查"
|
||
},
|
||
{
|
||
"name": "test_python3-unversioned-command_python__upper_p",
|
||
"desc": "测试python命令的-P参数,不将可能不安全的路径添加到sys.path"
|
||
}
|
||
]
|
||
} |