diff options
author | svidyuk <svidyuk@yandex-team.com> | 2024-04-24 12:51:18 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.com> | 2024-04-24 13:03:36 +0300 |
commit | 45ae70c23d0d732b2275a4bda5ab3f59afb29d83 (patch) | |
tree | 00da205851cb98c9f1738fb66032e8dc99b6f5b3 /build/ymake.core.conf | |
parent | f3d1037252027c9912e849588845d86bd5365232 (diff) | |
download | ydb-45ae70c23d0d732b2275a4bda5ab3f59afb29d83.tar.gz |
Cmake export semantics for YT-flavored UNITTESTs
f8d44be84710e6f8e5469c46e39ba6ac61a44ce8
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r-- | build/ymake.core.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 133c9f7eca..1e400f0baf 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -1290,6 +1290,7 @@ module _BASE_UNITTEST: _BASE_PROGRAM { .FINAL_TARGET=no .NODE_TYPE=Program .ALLOWED=YT_SPEC + .DEFAULT_NAME_GENERATOR=FullPath when ($UT_SKIP_EXCEPTIONS == "yes") { C_DEFINES+=-DUT_SKIP_EXCEPTIONS } @@ -1320,7 +1321,6 @@ UNITTEST_SEM=$CPP_PROGRAM_SEM \ ### Documentation: https://wiki.yandex-team.ru/yatool/test/#opisanievya.make1 module UNITTEST: _BASE_UNITTEST { .SEM=UNITTEST_SEM - .DEFAULT_NAME_GENERATOR=FullPath .ARGS_PARSER=Base PEERDIR(library/cpp/testing/unittest_main) ADD_YTEST($MODULE_PREFIX$REALPRJNAME unittest.py) @@ -1346,6 +1346,7 @@ module UNITTEST: _BASE_UNITTEST { ### ### YT Unit test module based on library/cpp/testing/unittest with NYT::Initialize hook module YT_UNITTEST: _BASE_UNITTEST { + .SEM=UNITTEST_SEM PEERDIR(library/cpp/testing/unittest_main yt/cpp/mapreduce/tests/yt_initialize_hook) ADD_YTEST($MODULE_PREFIX$REALPRJNAME unittest.py) } @@ -1355,6 +1356,7 @@ module YT_UNITTEST: _BASE_UNITTEST { ### ### Generic unit test module. module UNITTEST_WITH_CUSTOM_ENTRY_POINT: _BASE_UNITTEST { + .SEM=UNITTEST_SEM ADD_YTEST($MODULE_PREFIX$REALPRJNAME unittest.py) } |