Commit bbd70fd7 authored by Edward Lemur's avatar Edward Lemur Committed by Commit Bot

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: 's avatarAndrii Shyshkalov <tandrii@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
parent 983111f0
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment