[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:
Emma Qiao 2026-01-08 15:33:48 +08:00 committed by GitHub
parent 8d4b09dac6
commit 43839c7d9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -808,7 +808,7 @@ def getPytestBaseCommandLine(
portEnvVars,
pytestUtil,
"pytest",
"-v",
"-vv",
testFilter[(DETAILED_LOG)] ? "-s" : "",
"--timeout-method=thread",
"--apply-test-list-correction",

View File

@ -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}"]