Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: tools/ipc_fuzzer/scripts/utils.py

Issue 1025483002: Restructure the ipc_fuzzer directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move more files around Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/ipc_fuzzer/scripts/remove_close_messages.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Utility functions used by Generational and Mutational ClusterFuzz 6 """Utility functions used by Generational and Mutational ClusterFuzz
7 fuzzers.""" 7 fuzzers."""
8 8
9 import argparse 9 import argparse
10 import os 10 import os
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 assert False, 'Unknown platform' 94 assert False, 'Unknown platform'
95 95
96 def get_application_path(): 96 def get_application_path():
97 """Return chrome application path.""" 97 """Return chrome application path."""
98 if APP_PATH_KEY not in os.environ: 98 if APP_PATH_KEY not in os.environ:
99 sys.exit( 99 sys.exit(
100 'Environment variable %s should be set to chrome path.' % APP_PATH_KEY) 100 'Environment variable %s should be set to chrome path.' % APP_PATH_KEY)
101 101
102 return os.environ[APP_PATH_KEY] 102 return os.environ[APP_PATH_KEY]
OLDNEW
« no previous file with comments | « tools/ipc_fuzzer/scripts/remove_close_messages.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698