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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_server.py

Issue 2679173005: Rename Host.scm -> Host.git. (Closed)
Patch Set: Created 3 years, 10 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 # Copyright (c) 2010 Google Inc. All rights reserved. 1 # Copyright (c) 2010 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 29 matching lines...) Expand all
40 40
41 class TestConfig(object): 41 class TestConfig(object):
42 42
43 def __init__(self, test_port, layout_tests_directory, results_directory, pla tforms, host): 43 def __init__(self, test_port, layout_tests_directory, results_directory, pla tforms, host):
44 self.test_port = test_port 44 self.test_port = test_port
45 self.layout_tests_directory = layout_tests_directory 45 self.layout_tests_directory = layout_tests_directory
46 self.results_directory = results_directory 46 self.results_directory = results_directory
47 self.platforms = platforms 47 self.platforms = platforms
48 self.host = host 48 self.host = host
49 self.filesystem = host.filesystem 49 self.filesystem = host.filesystem
50 self.scm = host.scm() 50 self.git = host.git()
51 51
52 52
53 class RebaselineServer(AbstractLocalServerCommand): 53 class RebaselineServer(AbstractLocalServerCommand):
54 name = "rebaseline-server" 54 name = "rebaseline-server"
55 help_text = __doc__ 55 help_text = __doc__
56 show_in_main_help = True 56 show_in_main_help = True
57 argument_names = "/path/to/results/directory" 57 argument_names = "/path/to/results/directory"
58 58
59 server = RebaselineHTTPServer 59 server = RebaselineHTTPServer
60 60
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 self._gather_baselines(results_json) 96 self._gather_baselines(results_json)
97 97
98 return { 98 return {
99 'test_config': self._test_config, 99 'test_config': self._test_config,
100 "results_json": results_json, 100 "results_json": results_json,
101 "platforms_json": { 101 "platforms_json": {
102 'platforms': platforms, 102 'platforms': platforms,
103 'defaultPlatform': port.name(), 103 'defaultPlatform': port.name(),
104 }, 104 },
105 } 105 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698