(file_name, template, test='')
| 95 | |
| 96 | |
| 97 | def create_wrapper(file_name, template, test=''): |
| 98 | with action_helpers.atomic_output(file_name) as f: |
| 99 | wrapper = template.format(test=test) |
| 100 | f.write(wrapper.encode('utf-8')) |
| 101 | |
| 102 | # Make the wrapper world-executable. |
| 103 | st = os.stat(file_name) |
| 104 | m = st.st_mode |
| 105 | os.chmod(file_name, m | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH) |
| 106 | |
| 107 | |
| 108 | def setup_fuzztests_dir(cwd): |
no test coverage detected
searching dependent graphs…