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

Side by Side Diff: tracing/bin/symbolize_trace

Issue 2950723002: Add an end-to-end test for symbolize_trace on macOS. (Closed)
Patch Set: lint Created 3 years, 5 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2017 The Chromium Authors. All rights reserved. 2 # Copyright 2017 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 import os 6 import os
7 import sys 7 import sys
8 8
9 if __name__ == '__main__': 9 if __name__ == '__main__':
10 tracing_path = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) 10 tracing_path = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
11 symbolizer_path = os.path.join(tracing_path, 'tracing', 'extras', 11 sys.path.append(tracing_path)
12 'symbolizer') 12 from tracing.extras.symbolizer import symbolize_trace
13 sys.path.append(symbolizer_path)
14 import symbolize_trace
15 sys.exit(symbolize_trace.main(sys.argv[1:])) 13 sys.exit(symbolize_trace.main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « tracing/bin/run_symbolizer_tests ('k') | tracing/tracing/extras/symbolizer/data/mac_trace_v1_postsymbolization.json.gz.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698