aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorngc224 <ngc224@yandex-team.ru>2022-02-10 16:46:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:20 +0300
commitb86334f8eb651237aceaa035bebb519893d6d077 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /build
parent50152f7fd45140de323b88e009d3daa4209b3f07 (diff)
downloadydb-b86334f8eb651237aceaa035bebb519893d6d077.tar.gz
Restoring authorship annotation for <ngc224@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build')
-rw-r--r--build/plugins/ytest.py22
-rw-r--r--build/ya.conf.json28
-rw-r--r--build/ymake.core.conf8
3 files changed, 29 insertions, 29 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py
index 61ac566d27..8970837f0f 100644
--- a/build/plugins/ytest.py
+++ b/build/plugins/ytest.py
@@ -728,20 +728,20 @@ def onadd_pytest_bin(unit, *args):
if unit.get("TIDY") == "yes":
# graph changed for clang_tidy tests
return
- flat, kws = _common.sort_by_keywords({'RUNNER_BIN': 1}, args)
- if flat:
- ymake.report_configure_error(
- 'Unknown arguments found while processing add_pytest_bin macro: {!r}'
- .format(flat)
- )
-
- runner_bin = kws.get('RUNNER_BIN', [None])[0]
+ flat, kws = _common.sort_by_keywords({'RUNNER_BIN': 1}, args)
+ if flat:
+ ymake.report_configure_error(
+ 'Unknown arguments found while processing add_pytest_bin macro: {!r}'
+ .format(flat)
+ )
+
+ runner_bin = kws.get('RUNNER_BIN', [None])[0]
test_type = 'py3test.bin' if (unit.get("PYTHON3") == 'yes') else "pytest.bin"
add_test_to_dart(unit, test_type, runner_bin=runner_bin)
-
-def add_test_to_dart(unit, test_type, binary_path=None, runner_bin=None):
+
+def add_test_to_dart(unit, test_type, binary_path=None, runner_bin=None):
if unit.get("TIDY") == "yes":
# graph changed for clang_tidy tests
return
@@ -1016,7 +1016,7 @@ def onsetup_pytest_bin(unit, *args):
use_arcadia_python = unit.get('USE_ARCADIA_PYTHON') == "yes"
if use_arcadia_python:
unit.onresource(['-', 'PY_MAIN={}'.format("library.python.pytest.main:main")]) # XXX
- unit.onadd_pytest_bin(list(args))
+ unit.onadd_pytest_bin(list(args))
else:
unit.onno_platform()
unit.onadd_pytest_script(["PY_TEST"])
diff --git a/build/ya.conf.json b/build/ya.conf.json
index 90eb7b50cb..5f7cc875d6 100644
--- a/build/ya.conf.json
+++ b/build/ya.conf.json
@@ -4505,15 +4505,15 @@
"default": true
}
]
- },
- "run_python_udf": {
- "tools": {
+ },
+ "run_python_udf": {
+ "tools": {
"run_python_udf": {
"bottle": "run_python_udf",
"executable": "run_python_udf"
}
- },
- "platforms": [
+ },
+ "platforms": [
{
"host": {
"os": "LINUX"
@@ -4532,7 +4532,7 @@
},
"default": true
}
- ]
+ ]
},
"graphs_difference": {
"tools": {
@@ -7248,17 +7248,17 @@
"python3"
]
}
- },
- "run_python_udf": {
- "formula": {
- "sandbox_id": 273337583,
- "match": "RUN_PYTHON_UDF"
- },
- "executable": {
+ },
+ "run_python_udf": {
+ "formula": {
+ "sandbox_id": 273337583,
+ "match": "RUN_PYTHON_UDF"
+ },
+ "executable": {
"run_python_udf": [
"run_python_udf"
]
- }
+ }
},
"graphs_difference": {
"formula": {
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 304374a3e4..081833998b 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -6096,11 +6096,11 @@ YDL_FLAGS= --force-color -I ${ARCADIA_ROOT}
YDL_DESC_FLAGS=
# tag:src-processing tag:ydl-specific
-macro _SRC("ydl", SRC, SRCFLAGS...) {
+macro _SRC("ydl", SRC, SRCFLAGS...) {
.CMD=${tool:"statbox/ydl/compiler/tooling/ydl/bin"} c $YDL_FLAGS --cpp-output-header ${output;suf=.h:SRC} --cpp-output-source ${output;suf=.cpp:SRC} ${input:SRC} ${output_include;hide:"statbox/ydl/runtime/cpp/gen_support/standard_includes.h"} ${kv;hide:"p YDL"} ${kv;hide:"pc yellow"}
- .PEERDIR+=statbox/ydl/runtime/cpp
-}
-
+ .PEERDIR+=statbox/ydl/runtime/cpp
+}
+
# tag:ydl-specific
### @usage BUILD_YDL_DESC(Input Symbol Output)
###