From bbd70fd7b94326177a7962b9e68e1801f030b679 Mon Sep 17 00:00:00 2001 From: Edward Lemur Date: Thu, 26 Sep 2019 18:19:41 +0000 Subject: [PATCH] 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 Reviewed-by: Andrii Shyshkalov Commit-Queue: Edward Lesmes --- PRESUBMIT.py | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index a0999bd27c..0be5b3f025 100644 --- a/PRESUBMIT.py +++ b/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.