Commit 3df5ccf9 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

kajonggtest: if src/twisted is a symbolic link, copy it into the tempdir

parent fdee4a6d
......@@ -73,6 +73,10 @@ class Clone(object):
temp=self.tmpdir).split()).wait()
subprocess.Popen('git checkout -q {commitId}'.format(
commitId=commitId).split(), cwd=self.tmpdir).wait()
if os.path.islink('twisted'):
cpCmd = ['ln', '-s', '{}/twisted'.format(os.getcwd()),
'{}/src/twisted'.format(self.tmpdir)]
subprocess.Popen(cpCmd).wait()
def remove(self):
"""remove my tmpdir"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment