The skipOnLinux decorator wasn't calling the test method correctly (no need to pass...
authorJim Ingham <jingham@apple.com>
Tue, 27 Nov 2012 01:21:28 +0000 (01:21 +0000)
committerJim Ingham <jingham@apple.com>
Tue, 27 Nov 2012 01:21:28 +0000 (01:21 +0000)
in errors on MacOS X for the tests so decorated.

llvm-svn: 168662

lldb/test/lldbtest.py

index 3ce0d02..ceb1617 100644 (file)
@@ -443,7 +443,7 @@ def skipOnLinux(func):
         if "linux" in platform:
             self.skipTest("skip on linux")
         else:
-            func(self, *args, **kwargs)
+            func(*args, **kwargs)
     return wrapper
 
 class Base(unittest2.TestCase):