mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 22:18:36 +08:00
[TRTLLM-9642][infra] Increase pytest verbosity for failed tests (#9657)
Signed-off-by: qqiao <qqiao@nvidia.com> Signed-off-by: Emma Qiao <qqiao@nvidia.com>
This commit is contained in:
parent
8d4b09dac6
commit
43839c7d9b
@ -808,7 +808,7 @@ def getPytestBaseCommandLine(
|
||||
portEnvVars,
|
||||
pytestUtil,
|
||||
"pytest",
|
||||
"-v",
|
||||
"-vv",
|
||||
testFilter[(DETAILED_LOG)] ? "-s" : "",
|
||||
"--timeout-method=thread",
|
||||
"--apply-test-list-correction",
|
||||
|
||||
@ -126,8 +126,8 @@ def test_unittests_v2(llm_root, llm_venv, case: str, output_dir, request):
|
||||
f'results-sub-unittests-{case_fn}.xml')
|
||||
|
||||
command = [
|
||||
'-m', 'pytest', ignore_opt, "-v", "--tb=short", "-rF", "--timeout=2400",
|
||||
"--timeout-method=thread"
|
||||
'-m', 'pytest', ignore_opt, "-vv", "--tb=short", "-rF",
|
||||
"--timeout=2400", "--timeout-method=thread"
|
||||
]
|
||||
if test_prefix:
|
||||
command += [f"--test-prefix={test_prefix}"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user