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
This commit is contained in:
Greg Clayton
2013-12-10 23:19:29 +00:00
parent 88b6898085
commit 4570d3eba0
273 changed files with 284 additions and 276 deletions

View File

@@ -19,7 +19,7 @@ from lldbtest import *
class APIDefaultConstructorTestCase(TestBase):
mydir = os.path.join("python_api", "default-constructor")
mydir = TestBase.compute_mydir(__file__)
@python_api_test
def test_SBAddress(self):