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

Side by Side Diff: appengine/test_results/handlers/buildershandler.py

Issue 499103002: Make test_results deployable again. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: merge to ToT Created 6 years, 3 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 | « appengine/test_results/__init__.py ('k') | appengine/test_results/handlers/testfilehandler.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2013 Google Inc. All rights reserved. 1 # Copyright (C) 2013 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 18 matching lines...) Expand all
29 import datetime 29 import datetime
30 import json 30 import json
31 import logging 31 import logging
32 import re 32 import re
33 import sys 33 import sys
34 import urllib2 34 import urllib2
35 import webapp2 35 import webapp2
36 36
37 from google.appengine.api import memcache 37 from google.appengine.api import memcache
38 38
39 from ..handlers import master_config 39 import master_config
40 40
41 # Buildbot steps that have test in the name, but don't run tests. 41 # Buildbot steps that have test in the name, but don't run tests.
42 NON_TEST_STEP_NAMES = [ 42 NON_TEST_STEP_NAMES = [
43 'archive', 43 'archive',
44 'Run tests', 44 'Run tests',
45 'find isolated tests', 45 'find isolated tests',
46 'read test spec', 46 'read test spec',
47 'Download latest chromedriver', 47 'Download latest chromedriver',
48 'compile tests', 48 'compile tests',
49 'create_coverage_', 49 'create_coverage_',
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 logging.error('Builders fetch failed: %s', str(ex)) 198 logging.error('Builders fetch failed: %s', str(ex))
199 self.response.set_status(500) 199 self.response.set_status(500)
200 self.response.out.write(ex.message) 200 self.response.out.write(ex.message)
201 return 201 return
202 202
203 callback = self.request.get('callback') 203 callback = self.request.get('callback')
204 if callback: 204 if callback:
205 buildbot_data = callback + '(' + buildbot_data + ');' 205 buildbot_data = callback + '(' + buildbot_data + ');'
206 206
207 self.response.out.write(buildbot_data) 207 self.response.out.write(buildbot_data)
OLDNEW
« no previous file with comments | « appengine/test_results/__init__.py ('k') | appengine/test_results/handlers/testfilehandler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698