summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-11-27 01:21:28 +0000
committerJim Ingham <jingham@apple.com>2012-11-27 01:21:28 +0000
commit9732e08a4ddb1e4eecbc6994653dea2faeaf7b4b (patch)
treec0fe4ff329dd18dd960ebabf3c691dd365592fca
parentac997e963fa5daf4e48f9dc265cb60fd402116ac (diff)
downloadbcm5719-llvm-9732e08a4ddb1e4eecbc6994653dea2faeaf7b4b.tar.gz
bcm5719-llvm-9732e08a4ddb1e4eecbc6994653dea2faeaf7b4b.zip
The skipOnLinux decorator wasn't calling the test method correctly (no need to pass in the "self") resulting
in errors on MacOS X for the tests so decorated. llvm-svn: 168662
-rw-r--r--lldb/test/lldbtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 3ce0d02d49d..ceb16177197 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -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):
OpenPOWER on IntegriCloud