diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 19ddcf3a010..d46f905e6cc 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1166,6 +1166,7 @@ impl<'test> TestCx<'test> { .arg(&lldb_script_path) .arg(test_executable) .arg(debugger_script) + .env("PYTHONUNBUFFERED", "1") // Help debugging #78665 .env("PYTHONPATH", self.config.lldb_python_dir.as_ref().unwrap()), ) }