diff options
author | zaverden <zaverden@yandex-team.com> | 2023-03-24 12:31:01 +0300 |
---|---|---|
committer | zaverden <zaverden@yandex-team.com> | 2023-03-24 12:31:01 +0300 |
commit | ea9f34fb40dba772ec8e2d6edbc38d4579b08bbd (patch) | |
tree | 0839de552a1505884a1550608e9d88a1f7b7af38 /build/plugins | |
parent | 8ef8071c99c12bc82db6da5950e9b8c02765126e (diff) | |
download | ydb-ea9f34fb40dba772ec8e2d6edbc38d4579b08bbd.tar.gz |
feat(TS_TEST): implement extract_node_modules recipe
Diffstat (limited to 'build/plugins')
-rw-r--r-- | build/plugins/nots.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/plugins/nots.py b/build/plugins/nots.py index 7f2184a27c..a12304d0bb 100644 --- a/build/plugins/nots.py +++ b/build/plugins/nots.py @@ -264,6 +264,7 @@ def _add_test(unit, test_type, test_files, deps=None, test_record=None, test_cwd "TEST-TIMEOUT": unit.get("TEST_TIMEOUT") or "", "TEST-ENV": ytest.prepare_env(unit.get("TEST_ENV_VALUE")), "TESTED-PROJECT-NAME": os.path.splitext(unit.filename())[0], + "TEST-RECIPES": ytest.prepare_recipes(unit.get("TEST_RECIPES_VALUE")), "SCRIPT-REL-PATH": test_type, "SOURCE-FOLDER-PATH": test_dir, "BUILD-FOLDER-PATH": test_dir, @@ -277,7 +278,7 @@ def _add_test(unit, test_type, test_files, deps=None, test_record=None, test_cwd "REQUIREMENTS": ytest.serialize_list(ytest.get_values_list(unit, "TEST_REQUIREMENTS_VALUE")), "NODEJS-ROOT-VAR-NAME": unit.get("NODEJS_ROOT_VAR_NAME"), "NODE-MODULES-BUNDLE-FILENAME": constants.NODE_MODULES_WORKSPACE_BUNDLE_FILENAME, - "CUSTOM-DEPENDENCIES": " ".join(deps) if deps else "", + "CUSTOM-DEPENDENCIES": " ".join((deps or []) + ytest.get_values_list(unit, 'TEST_DEPENDS_VALUE')), } if test_record: |