Skip to content
Snippets Groups Projects
Commit 4899420f authored by Johnny Chen's avatar Johnny Chen
Browse files

Simplify the dictionary setting for test_set_working_dir_* methods.

llvm-svn: 126531
parent d08df5b0
No related branches found
No related tags found
No related merge requests found
......@@ -96,19 +96,17 @@ class ProcessLaunchTestCase(TestBase):
if not success:
self.fail (err_msg)
dict = {'CXX_SOURCES' : 'print_cwd.cpp'}
d = {'CXX_SOURCES' : 'print_cwd.cpp'}
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
def test_set_working_dir_with_dsym (self):
dict = {'CXX_SOURCES' : 'print_cwd.cpp'}
self.buildDsym(dictionary=dict)
self.setTearDownCleanup(dict)
self.buildDsym(dictionary=self.d)
self.setTearDownCleanup(self.d)
self.my_working_dir_test()
def test_set_working_dir_with_dwarf (self):
dict = {'CXX_SOURCES' : 'print_cwd.cpp'}
self.buildDwarf(dictionary=dict)
self.setTearDownCleanup(dict)
self.buildDwarf(dictionary=self.d)
self.setTearDownCleanup(self.d)
self.my_working_dir_test()
# rdar://problem/9056462
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment