aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-01-18 11:28:56 +0100
committerGitHub <noreply@github.com>2024-01-18 11:28:56 +0100
commit9d0a3761b3201e0d9db879a7adf91876ebdb0564 (patch)
tree541d11ac878c18efd7ebca81e35112aa0fef995b /build/plugins
parent404ef8886ecc9736bc58ade6da2fbd83b486a408 (diff)
downloadydb-9d0a3761b3201e0d9db879a7adf91876ebdb0564.tar.gz
Library import 8 (#1074)
* Library import 8 * Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
Diffstat (limited to 'build/plugins')
-rw-r--r--build/plugins/lib/test_const/__init__.py3
-rw-r--r--build/plugins/ytest.py11
2 files changed, 12 insertions, 2 deletions
diff --git a/build/plugins/lib/test_const/__init__.py b/build/plugins/lib/test_const/__init__.py
index d17a8a652b..52aa8a05b8 100644
--- a/build/plugins/lib/test_const/__init__.py
+++ b/build/plugins/lib/test_const/__init__.py
@@ -134,10 +134,12 @@ COVERAGE_ENV_VARS = (
PYTHON_COVERAGE_PREFIX_FILTER_ENV_NAME = 'PYTHON_COVERAGE_PREFIX_FILTER'
PYTHON_COVERAGE_EXCLUDE_REGEXP_ENV_NAME = 'PYTHON_COVERAGE_EXCLUDE_REGEXP'
+# TODO get rid of this list - resolve nodes should be added automatically depending on the lang of the target module and their deps
CLANG_COVERAGE_TEST_TYPES = (
"boost_test",
"coverage_extractor",
"exectest",
+ "fuzz",
"gtest",
"go_test",
# java tests might use shared libraries
@@ -147,6 +149,7 @@ CLANG_COVERAGE_TEST_TYPES = (
"pytest",
"unittest",
)
+
COVERAGE_TABLE_CHUNKS = 20
COVERAGE_TESTS_TIMEOUT_FACTOR = 1.5
COVERAGE_YT_PROXY = "hahn.yt.yandex.net"
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py
index edf060c8ae..182e4b25e4 100644
--- a/build/plugins/ytest.py
+++ b/build/plugins/ytest.py
@@ -32,6 +32,8 @@ PARTITION_MODS = ('SEQUENTIAL', 'MODULO')
DEFAULT_TIDY_CONFIG = "build/config/tests/clang_tidy/config.yaml"
DEFAULT_TIDY_CONFIG_MAP_PATH = "build/yandex_specific/config/clang_tidy/tidy_default_map.json"
PROJECT_TIDY_CONFIG_MAP_PATH = "build/yandex_specific/config/clang_tidy/tidy_project_map.json"
+KTLINT_CURRENT_EDITOR_CONFIG = "arcadia/build/platform/java/ktlint/.editorconfig"
+KTLINT_OLD_EDITOR_CONFIG = "arcadia/build/platform/java/ktlint_old/.editorconfig"
tidy_config_map = None
@@ -651,8 +653,13 @@ def onadd_check(unit, *args):
fork_mode = unit.get('TEST_FORK_MODE') or ''
elif check_type == "ktlint":
test_timeout = '120'
- ktlint_binary = '$(KTLINT_OLD)/run.bat' if unit.get('_USE_KTLINT_OLD') == 'yes' else '$(KTLINT)/run.bat'
- extra_test_dart_data['KTLINT_BINARY'] = ktlint_binary
+ if unit.get('_USE_KTLINT_OLD') == 'yes':
+ extra_test_data = serialize_list([KTLINT_OLD_EDITOR_CONFIG])
+ extra_test_dart_data['KTLINT_BINARY'] = '$(KTLINT_OLD)/run.bat'
+ extra_test_dart_data['USE_KTLINT_OLD'] = 'yes'
+ else:
+ extra_test_data = serialize_list([KTLINT_CURRENT_EDITOR_CONFIG])
+ extra_test_dart_data['KTLINT_BINARY'] = '$(KTLINT)/run.bat'
elif check_type == "JAVA_STYLE":
if ymake_java_test and not unit.get('ALL_SRCDIRS'):
return