diff options
author | v-korovin <[email protected]> | 2022-02-10 16:46:20 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:20 +0300 |
commit | c4e0c5d2f245076d63ccff1004c755ca0cc5d27b (patch) | |
tree | 0c6b0402dc17d5d1beffbe9350d2d6802207e123 /build/plugins/ytest.py | |
parent | b86334f8eb651237aceaa035bebb519893d6d077 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/ytest.py')
-rw-r--r-- | build/plugins/ytest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py index 8970837f0f8..7ebf5c86725 100644 --- a/build/plugins/ytest.py +++ b/build/plugins/ytest.py @@ -736,11 +736,11 @@ def onadd_pytest_bin(unit, *args): ) 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) + 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): if unit.get("TIDY") == "yes": # graph changed for clang_tidy tests @@ -1047,7 +1047,7 @@ def onsetup_run_python(unit): def get_canonical_test_resources(unit): unit_path = unit.path() - canon_data_dir = os.path.join(unit.resolve(unit_path), CANON_DATA_DIR_NAME, unit.get('CANONIZE_SUB_PATH') or '') + canon_data_dir = os.path.join(unit.resolve(unit_path), CANON_DATA_DIR_NAME, unit.get('CANONIZE_SUB_PATH') or '') try: _, dirs, files = next(os.walk(canon_data_dir)) |