[Lldb-commits] [lldb] 27166e9 - [lldb] Skip TestIOHandlerPythonREPLSigint if *host* is linux
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 14 09:38:12 PST 2022
Author: Jonas Devlieghere
Date: 2022-02-14T09:38:07-08:00
New Revision: 27166e95e70254e292c31a2aa16582a56b787c42
URL: https://github.com/llvm/llvm-project/commit/27166e95e70254e292c31a2aa16582a56b787c42
DIFF: https://github.com/llvm/llvm-project/commit/27166e95e70254e292c31a2aa16582a56b787c42.diff
LOG: [lldb] Skip TestIOHandlerPythonREPLSigint if *host* is linux
The current dectorator (@skipIfLinux) will skip the test if the lldb
platform is the linux platform, but the issue is with the OS that lldb
is running on, not the OS that lldb is debugging. Update the decorator
to skip the test if the host is Linux.
Thank you Ted Woodward for pointing this out.
Added:
Modified:
lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py
Removed:
################################################################################
diff --git a/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py b/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py
index 79ffb2a7e300c..d98add7876ade 100644
--- a/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py
+++ b/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py
@@ -58,7 +58,7 @@ def test_while_evaluating_code(self):
@skipIfAsan
# FIXME: On Linux the Python code that reads from stdin seems to block until
# it has finished reading a line before handling any queued signals.
- @skipIfLinux
+ @skipIf(hostoslist=['linux'])
@skipIfWindows
def test_while_waiting_on_input(self):
""" Tests SIGINT handling while the REPL is waiting on input from
More information about the lldb-commits
mailing list