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

Unified Diff: client/PRESUBMIT.py

Issue 1961603002: Add LogDog Python client library. (Closed) Base URL: https://github.com/luci/luci-py@master
Patch Set: Remove "client." from package name, make pylint happy. Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | client/libs/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/PRESUBMIT.py
diff --git a/client/PRESUBMIT.py b/client/PRESUBMIT.py
index 912398b620488f771f4ece01596bd60c701bf819..6556cd2e8966e2bab7c1e9cc05d48e4be318f091 100644
--- a/client/PRESUBMIT.py
+++ b/client/PRESUBMIT.py
@@ -30,6 +30,7 @@ def CommonChecks(input_api, output_api):
# web service instead.
blacklist = [
r'.*isolateserver_smoke_test\.py$',
+ r'.*isolateserver_load_test\.py$',
r'.*swarming_smoke_test\.py$',
]
if not input_api.is_committing:
@@ -40,12 +41,12 @@ def CommonChecks(input_api, output_api):
r'.*url_open_timeout_test\.py$',
])
- output.extend(
- input_api.canned_checks.RunUnitTestsInDirectory(
- input_api, output_api,
- input_api.os_path.join(input_api.PresubmitLocalPath(), 'tests'),
- whitelist=[r'.+_test\.py$'],
- blacklist=blacklist))
+ unit_tests = input_api.canned_checks.GetUnitTestsRecursively(
+ input_api, output_api,
+ input_api.os_path.join(input_api.PresubmitLocalPath()),
+ whitelist=[r'.+_test\.py$'],
+ blacklist=blacklist)
+ output.extend(input_api.RunTests(unit_tests))
return output
« no previous file with comments | « no previous file | client/libs/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698