summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorchase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 01:40:28 +0000
committerchase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 01:40:28 +0000
commit28fe69ab1bb9362a1ee105821ec4631b574417d3 (patch)
tree56f11ba71405a072bd38e618eea3f5141297adc8 /tools
parent0cf348bee91869f8ec4b17995fc65bfb02c0755d (diff)
downloadchromium_src-28fe69ab1bb9362a1ee105821ec4631b574417d3.zip
chromium_src-28fe69ab1bb9362a1ee105821ec4631b574417d3.tar.gz
chromium_src-28fe69ab1bb9362a1ee105821ec4631b574417d3.tar.bz2
Use full pathname to perf_expectations in test.
BUG=none TEST=none Review URL: http://codereview.chromium.org/266055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/perf_expectations/PRESUBMIT.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf_expectations/PRESUBMIT.py b/tools/perf_expectations/PRESUBMIT.py
index e38dd5c..158a3fb 100644
--- a/tools/perf_expectations/PRESUBMIT.py
+++ b/tools/perf_expectations/PRESUBMIT.py
@@ -13,12 +13,12 @@ UNIT_TESTS = [
'tests.perf_expectations_unittest',
]
-PERF_EXPECTATIONS = 'perf_expectations.json'
+PERF_EXPECTATIONS = 'tools/perf_expectations/perf_expectations.json'
def CheckChangeOnUpload(input_api, output_api):
run_tests = False
for path in input_api.LocalPaths():
- if PERF_EXPECTATIONS == input_api.os_path.basename(path):
+ if PERF_EXPECTATIONS == path:
run_tests = True
output = []
@@ -32,7 +32,7 @@ def CheckChangeOnUpload(input_api, output_api):
def CheckChangeOnCommit(input_api, output_api):
run_tests = False
for path in input_api.LocalPaths():
- if PERF_EXPECTATIONS == input_api.os_path.basename(path):
+ if PERF_EXPECTATIONS == path:
run_tests = True
output = []