diff options
author | arcadia-devtools <[email protected]> | 2022-05-06 19:14:11 +0300 |
---|---|---|
committer | arcadia-devtools <[email protected]> | 2022-05-06 19:14:11 +0300 |
commit | 1475edcc81e3980e9e3aab55d9a1a928f2ccb8cb (patch) | |
tree | 8483ce0ede0000dc61c4104e835f80ee120b53ea /build/plugins | |
parent | 9f558f1f113dee87ce6a327b025e70e2767c57e9 (diff) |
intermediate changes
ref:94396ab8870768bea08a1300f70d26735d903335
Diffstat (limited to 'build/plugins')
-rw-r--r-- | build/plugins/ytest.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py index 2a6c0aab554..6746edf711b 100644 --- a/build/plugins/ytest.py +++ b/build/plugins/ytest.py @@ -230,10 +230,10 @@ def validate_test(unit, kw): except Exception as e: errors.append("Error when parsing test timeout: [[bad]]{}[[rst]]".format(e)) - requiremtens_list = [] + requirements_list = [] for req_name, req_value in requirements.iteritems(): - requiremtens_list.append(req_name + ":" + req_value) - valid_kw['REQUIREMENTS'] = serialize_list(requiremtens_list) + requirements_list.append(req_name + ":" + req_value) + valid_kw['REQUIREMENTS'] = serialize_list(requirements_list) if valid_kw.get("FUZZ-OPTS"): for option in get_list("FUZZ-OPTS"): @@ -545,8 +545,9 @@ def onadd_check(unit, *args): if unit.get("TIDY") == "yes": # graph changed for clang_tidy tests return - flat_args, spec_args = _common.sort_by_keywords({"DEPENDS": -1, "TIMEOUT": 1, "DATA": -1, "TAG": -1, "REQUIREMENTS": -1, "FORK_MODE": 1, - "SPLIT_FACTOR": 1, "FORK_SUBTESTS": 0, "FORK_TESTS": 0, "SIZE": 1}, args) + flat_args, spec_args = _common.sort_by_keywords({"DEPENDS": -1, "TIMEOUT": 1, "DATA": -1, "TAG": -1, + "REQUIREMENTS": -1, "FORK_MODE": 1, "SPLIT_FACTOR": 1, + "FORK_SUBTESTS": 0, "FORK_TESTS": 0, "SIZE": 1}, args) check_type = flat_args[0] test_dir = get_norm_unit_path(unit) @@ -622,7 +623,7 @@ def onadd_check(unit, *args): 'SOURCE-FOLDER-PATH': test_dir, 'CUSTOM-DEPENDENCIES': " ".join(spec_args.get('DEPENDS', [])), 'TEST-DATA': extra_test_data, - "SBR-UID-EXT": uid_ext, + 'SBR-UID-EXT': uid_ext, 'SPLIT-FACTOR': '', 'TEST_PARTITION': 'SEQUENTIAL', 'FORK-MODE': fork_mode, |