Author: Ebuka Ezike Date: 2026-01-08T20:16:42Z New Revision: 21a1e6e6a70d70635c68b9aaa54f816ae36a6416
URL: https://github.com/llvm/llvm-project/commit/21a1e6e6a70d70635c68b9aaa54f816ae36a6416 DIFF: https://github.com/llvm/llvm-project/commit/21a1e6e6a70d70635c68b9aaa54f816ae36a6416.diff LOG: [lldb] skip the python interactive I/O test on windows (#175055) There is no indication this ever worked on windows as this is the first test that checks python interactive console from a file. Looking at the error from the CI, It closed the interpreter before running any python commands. Will reconfirm this when I have access to a windows machine. >From https://github.com/llvm/llvm-project/pull/174216 Added: Modified: lldb/test/API/python_api/file_handle/TestFileHandle.py lldb/test/Shell/ScriptInterpreter/Python/io.test Removed: ################################################################################ diff --git a/lldb/test/API/python_api/file_handle/TestFileHandle.py b/lldb/test/API/python_api/file_handle/TestFileHandle.py index 707044a3afb0f..70720e3f0fa91 100644 --- a/lldb/test/API/python_api/file_handle/TestFileHandle.py +++ b/lldb/test/API/python_api/file_handle/TestFileHandle.py @@ -2,7 +2,6 @@ Test lldb Python API for file handles. """ - import os import io import re @@ -680,6 +679,7 @@ def test_stdout_file(self): lines = [x for x in f.read().strip().split() if x != "7"] self.assertEqual(lines, ["foobar"]) + @skipIf(hostoslist=["windows"]) def test_stdout_file_interactive(self): """Ensure when we read stdin from a file, outputs from python goes to the right I/O stream.""" with open(self.in_filename, "w") as f: diff --git a/lldb/test/Shell/ScriptInterpreter/Python/io.test b/lldb/test/Shell/ScriptInterpreter/Python/io.test index 25e3de41724e0..1a3ff8dcd4258 100644 --- a/lldb/test/Shell/ScriptInterpreter/Python/io.test +++ b/lldb/test/Shell/ScriptInterpreter/Python/io.test @@ -1,3 +1,5 @@ +# UNSUPPORTED: system-windows + # RUN: rm -rf %t.stdout %t.stderr # RUN: cat %s | %lldb --script-language python > %t.stdout 2> %t.stderr # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
