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 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());