Hi granata.enrico,

R220718 changed the path libtest.py goes looking for the file "LLDB.h".  This 
will cause all unit tests decorated with "@skipIfNoSBHeaders" to skip the test 
on linux (and I suspect all non-Apple platforms).

http://reviews.llvm.org/D6177

Files:
  test/lldbtest.py
Index: test/lldbtest.py
===================================================================
--- test/lldbtest.py
+++ test/lldbtest.py
@@ -565,7 +565,10 @@
     def wrapper(*args, **kwargs):
         from unittest2 import case
         self = args[0]
-        header = os.path.join(self.lib_dir, 'LLDB.framework', 'Versions','Current','Headers','LLDB.h')
+        if sys.platform.startswith("darwin"):
+            header = os.path.join(self.lib_dir, 'LLDB.framework', 'Versions','Current','Headers','LLDB.h')
+        else:
+            header = os.path.join(os.environ["LLDB_SRC"], "include", "lldb", "API", "LLDB.h")
         platform = sys.platform
         if not os.path.exists(header):
             self.skipTest("skip because LLDB.h header not found")
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to