[Lldb-commits] [PATCH] D19626: XFail TestIRInterpreter on Windows
Adrian McCarthy via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 27 14:37:59 PDT 2016
amccarth created this revision.
amccarth added a reviewer: spyffe.
amccarth added a subscriber: lldb-commits.
Test relies on a POSIX-only function `getpid()`, so the expression on Windows gets an undefined symbol. If you substitute `_getpid()`, the interpreter complains that it uses an opcode it doesn't support.
http://reviews.llvm.org/D19626
Files:
packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
Index: packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
===================================================================
--- packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
+++ packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
@@ -38,6 +38,7 @@
self.runCmd("run", RUN_SUCCEEDED)
@add_test_categories(['pyapi'])
+ @expectedFailureAll(oslist=['windows']) # depends on POSIX getpid (and ir-interpreter can run substitute _getpid)
def test_ir_interpreter(self):
self.build_and_run()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19626.55326.patch
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160427/22ccc9a9/attachment.bin>
More information about the lldb-commits
mailing list