| 220 | f.write("#define V8_IS_CANDIDATE_VERSION 0\n") |
| 221 | |
| 222 | def WriteFakeWatchlistsFile(self): |
| 223 | watchlists_file = os.path.join(TEST_CONFIG["DEFAULT_CWD"], WATCHLISTS_FILE) |
| 224 | if not os.path.exists(os.path.dirname(watchlists_file)): |
| 225 | os.makedirs(os.path.dirname(watchlists_file)) |
| 226 | with open(watchlists_file, "w") as f: |
| 227 | |
| 228 | content = """ |
| 229 | 'merges': [ |
| 230 | # Only enabled on branches created with tools/release/create_release.py |
| 231 | # 'v8-merges@googlegroups.com', |
| 232 | ], |
| 233 | """ |
| 234 | f.write(content) |
| 235 | |
| 236 | def MakeStep(self): |
| 237 | """Convenience wrapper.""" |