From 3ea2b26c3c521ff30f9ce3e76f644410445f6ccb Mon Sep 17 00:00:00 2001 From: Jonathan Helmus Date: Wed, 29 Oct 2025 10:21:07 -0500 Subject: [PATCH 1/2] run validation unit tests with verbose flag --- src/validation.rs | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/validation.rs b/src/validation.rs index 419927346..40eff2471 100644 --- a/src/validation.rs +++ b/src/validation.rs @@ -2237,17 +2237,20 @@ fn verify_distribution_behavior(dist_path: &Path) -> Result> { std::fs::write(&test_file, PYTHON_VERIFICATIONS.as_bytes())?; eprintln!(" running interpreter tests (output should follow)"); - let output = duct::cmd(&python_exe, [test_file.display().to_string()]) - .stdout_to_stderr() - .unchecked() - .env("TARGET_TRIPLE", &python_json.target_triple) - .env("BUILD_OPTIONS", &python_json.build_options) - .run() - .context(format!( - "Failed to run `{} {}`", - python_exe.display(), - test_file.display() - ))?; + let output = duct::cmd( + &python_exe, + [test_file.display().to_string(), "-v".to_string()], + ) + .stdout_to_stderr() + .unchecked() + .env("TARGET_TRIPLE", &python_json.target_triple) + .env("BUILD_OPTIONS", &python_json.build_options) + .run() + .context(format!( + "Failed to run `{} {}`", + python_exe.display(), + test_file.display() + ))?; if !output.status.success() { errors.push("errors running interpreter tests".to_string()); From fa4c38cb0d1cb12453fe8317fd3db2f9b18316f8 Mon Sep 17 00:00:00 2001 From: Jonathan Helmus Date: Wed, 29 Oct 2025 16:23:53 -0500 Subject: [PATCH 2/2] TST: try validation with xterm --- .github/workflows/linux.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8d05a86f6..35193fe9b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -417,3 +417,4 @@ jobs: env: MATRIX_RUN: ${{ matrix.run }} MATRIX_LIBC: ${{ matrix.libc }} + TERM: xterm