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


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()
 
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to