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

Side by Side Diff: sky/tools/webkitpy/layout_tests/port/base.py

Issue 1190223002: Make the skyanalyzer check the stocks app during testing. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 def results_directory(self): 963 def results_directory(self):
964 """Absolute path to the place to store the test results (uses --results- directory).""" 964 """Absolute path to the place to store the test results (uses --results- directory)."""
965 if not self._results_directory: 965 if not self._results_directory:
966 option_val = self.get_option('results_directory') or self.default_re sults_directory() 966 option_val = self.get_option('results_directory') or self.default_re sults_directory()
967 self._results_directory = self._filesystem.abspath(option_val) 967 self._results_directory = self._filesystem.abspath(option_val)
968 return self._results_directory 968 return self._results_directory
969 969
970 def perf_results_directory(self): 970 def perf_results_directory(self):
971 return self._build_path() 971 return self._build_path()
972 972
973 def analyzer_build_directory(self):
974 return self._build_path()
975
973 def default_results_directory(self): 976 def default_results_directory(self):
974 """Absolute path to the default place to store the test results.""" 977 """Absolute path to the default place to store the test results."""
975 return self._build_path('layout-test-results') 978 return self._build_path('layout-test-results')
976 979
977 def setup_test_run(self): 980 def setup_test_run(self):
978 """Perform port-specific work at the beginning of a test run.""" 981 """Perform port-specific work at the beginning of a test run."""
979 # Delete the disk cache if any to ensure a clean test run. 982 # Delete the disk cache if any to ensure a clean test run.
980 dump_render_tree_binary_path = self._path_to_driver() 983 dump_render_tree_binary_path = self._path_to_driver()
981 cachedir = self._filesystem.dirname(dump_render_tree_binary_path) 984 cachedir = self._filesystem.dirname(dump_render_tree_binary_path)
982 cachedir = self._filesystem.join(cachedir, "cache") 985 cachedir = self._filesystem.join(cachedir, "cache")
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
1773 1776
1774 class PhysicalTestSuite(object): 1777 class PhysicalTestSuite(object):
1775 def __init__(self, base, args): 1778 def __init__(self, base, args):
1776 self.name = base 1779 self.name = base
1777 self.base = base 1780 self.base = base
1778 self.args = args 1781 self.args = args
1779 self.tests = set() 1782 self.tests = set()
1780 1783
1781 def __repr__(self): 1784 def __repr__(self):
1782 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args) 1785 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698