diff options
author | daniel-march <daniel-march@yandex-team.com> | 2023-10-12 19:24:17 +0300 |
---|---|---|
committer | daniel-march <daniel-march@yandex-team.com> | 2023-10-12 19:46:16 +0300 |
commit | a133fc1e8d404578f74f39162e63f4a5fd8d4c5a (patch) | |
tree | 9454ac2c77e6cf4860c697036ba490a64963037c /build/plugins | |
parent | 8826ac90645f5ed29970591c779c0d62d27433a7 (diff) | |
download | ydb-a133fc1e8d404578f74f39162e63f4a5fd8d4c5a.tar.gz |
Added "USE_KTLINT_OLD" macro support
Diffstat (limited to 'build/plugins')
-rw-r--r-- | build/plugins/ytest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py index 664539e9d69..2aed37e2057 100644 --- a/build/plugins/ytest.py +++ b/build/plugins/ytest.py @@ -641,6 +641,8 @@ 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 elif check_type == "JAVA_STYLE": if ymake_java_test and not unit.get('ALL_SRCDIRS') or '': return |