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

Side by Side Diff: chrome/test/functional/stress.py

Issue 191583002: Media Galleries API Metadata: Image metadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 6
7 """ 7 """
8 Stess Tests for Google Chrome. 8 Stess Tests for Google Chrome.
9 9
10 This script runs 4 different stress tests: 10 This script runs 4 different stress tests:
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 symbol_files = ['chrome.dll.pdb', 'chrome.exe.pdb'] 100 symbol_files = ['chrome.dll.pdb', 'chrome.exe.pdb']
101 elif self.IsMac(): 101 elif self.IsMac():
102 url = url + '/mac/' 102 url = url + '/mac/'
103 symbol_files = map(urllib.quote, 103 symbol_files = map(urllib.quote,
104 ['Google Chrome Framework.framework', 104 ['Google Chrome Framework.framework',
105 'Google Chrome Helper.app', 105 'Google Chrome Helper.app',
106 'Google Chrome.app', 106 'Google Chrome.app',
107 'crash_inspector', 107 'crash_inspector',
108 'crash_report_sender', 108 'crash_report_sender',
109 'ffmpegsumo.so', 109 'ffmpegsumo.so',
110 'libexif.dylib',
110 'libplugin_carbon_interpose.dylib']) 111 'libplugin_carbon_interpose.dylib'])
111 index = 0 112 index = 0
112 symbol_files = ['%s-%s-i386.breakpad' % (sym_file, self.chrome_version) \ 113 symbol_files = ['%s-%s-i386.breakpad' % (sym_file, self.chrome_version) \
113 for sym_file in symbol_files] 114 for sym_file in symbol_files]
114 logging.info(symbol_files) 115 logging.info(symbol_files)
115 116
116 for sym_file in symbol_files: 117 for sym_file in symbol_files:
117 sym_url = url + sym_file 118 sym_url = url + sym_file
118 logging.info(sym_url) 119 logging.info(sym_url)
119 download_sym_file = os.path.join(download_location, sym_file) 120 download_sym_file = os.path.join(download_location, sym_file)
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 798
798 if self.IsMac(): 799 if self.IsMac():
799 zombie = 'ps -el | grep Chrom | grep -v grep | grep Z | wc -l' 800 zombie = 'ps -el | grep Chrom | grep -v grep | grep Z | wc -l'
800 zombie_count = int(commands.getoutput(zombie)) 801 zombie_count = int(commands.getoutput(zombie))
801 if zombie_count > 0: 802 if zombie_count > 0:
802 logging.info('WE HAVE ZOMBIES = %d' % zombie_count) 803 logging.info('WE HAVE ZOMBIES = %d' % zombie_count)
803 804
804 805
805 if __name__ == '__main__': 806 if __name__ == '__main__':
806 pyauto_functional.Main() 807 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js ('k') | chrome/tools/build/chromeos/FILES.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698