summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/data-formatter/data-formatter-objc
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-12-10 23:19:29 +0000
committerGreg Clayton <gclayton@apple.com>2013-12-10 23:19:29 +0000
commit4570d3eba0db0e322115964257f36a086d89edcb (patch)
treefb45581bcbcca8498dafa485def3d4e85383307a /lldb/test/functionalities/data-formatter/data-formatter-objc
parent88b6898085e8b7d5a577eb0cfb16bf489842324c (diff)
downloadbcm5719-llvm-4570d3eba0db0e322115964257f36a086d89edcb.tar.gz
bcm5719-llvm-4570d3eba0db0e322115964257f36a086d89edcb.zip
Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case.
This has led to many test suite failures because of copy and paste where new test cases were based off of other test cases and the "mydir" variable wasn't updated. Now you can call your superclasses "compute_mydir()" function with "__file__" as the sole argument and the relative path will be computed for you. llvm-svn: 196985
Diffstat (limited to 'lldb/test/functionalities/data-formatter/data-formatter-objc')
-rw-r--r--lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
index 53590667e51..de5c3f29902 100644
--- a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
+++ b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
@@ -12,7 +12,7 @@ import lldbutil
class ObjCDataFormatterTestCase(TestBase):
- mydir = os.path.join("functionalities", "data-formatter", "data-formatter-objc")
+ mydir = TestBase.compute_mydir(__file__)
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
OpenPOWER on IntegriCloud