mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
depot_tools: Enable more tests for windows.
Bug: 1007580 Change-Id: Ic407566149f78a8de5f173ae4c8726fc25834b8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1750146 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
22
PRESUBMIT.py
22
PRESUBMIT.py
@@ -68,7 +68,27 @@ def CommonChecks(input_api, output_api, tests_to_black_list, run_on_python3):
|
||||
tests_to_white_list = [r'.*test\.py$']
|
||||
if input_api.platform.startswith(('cygwin', 'win32')):
|
||||
print('Warning: skipping most unit tests on Windows')
|
||||
tests_to_white_list = [r'.*cipd_bootstrap_test\.py$']
|
||||
tests_to_black_list = [
|
||||
r'.*auth_test\.py$',
|
||||
r'.*download_from_google_storage_unittest\.py$',
|
||||
r'.*gclient_scm_test\.py$',
|
||||
r'.*gclient_smoketest\.py$',
|
||||
r'.*gclient_test\.py$',
|
||||
r'.*git_cache_test\.py$',
|
||||
r'.*git_cl_test\.py$',
|
||||
r'.*git_common_test\.py$',
|
||||
r'.*git_footers_test\.py$',
|
||||
r'.*git_hyper_blame_test\.py$',
|
||||
r'.*git_number_test\.py$',
|
||||
r'.*git_rebase_update_test\.py$',
|
||||
r'.*ninjalog_uploader_test\.py$',
|
||||
r'.*presubmit_unittest\.py$',
|
||||
r'.*recipes_test\.py$',
|
||||
r'.*roll_dep_test\.py$',
|
||||
r'.*scm_unittest\.py$',
|
||||
r'.*subprocess2_test\.py$',
|
||||
r'.*upload_to_google_storage_unittest\.py$',
|
||||
]
|
||||
|
||||
# TODO(maruel): Make sure at least one file is modified first.
|
||||
# TODO(maruel): If only tests are modified, only run them.
|
||||
|
||||
Reference in New Issue
Block a user