diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/testing/unittest | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/testing/unittest')
-rw-r--r-- | library/cpp/testing/unittest/fat/ya.make | 17 | ||||
-rw-r--r-- | library/cpp/testing/unittest/pytests/test_subject/ya.make | 13 | ||||
-rw-r--r-- | library/cpp/testing/unittest/pytests/ya.make | 21 | ||||
-rw-r--r-- | library/cpp/testing/unittest/ut/ya.make | 8 | ||||
-rw-r--r-- | library/cpp/testing/unittest/ya.make | 31 |
5 files changed, 90 insertions, 0 deletions
diff --git a/library/cpp/testing/unittest/fat/ya.make b/library/cpp/testing/unittest/fat/ya.make new file mode 100644 index 0000000000..464f26818f --- /dev/null +++ b/library/cpp/testing/unittest/fat/ya.make @@ -0,0 +1,17 @@ +UNITTEST() + +SRCS( + test_port_manager.cpp +) + +SIZE(LARGE) + +# We need to run tests at the same time on the single machine +FORK_SUBTESTS() + +TAG( + ya:fat + ya:force_sandbox +) + +END() diff --git a/library/cpp/testing/unittest/pytests/test_subject/ya.make b/library/cpp/testing/unittest/pytests/test_subject/ya.make new file mode 100644 index 0000000000..c9990b674f --- /dev/null +++ b/library/cpp/testing/unittest/pytests/test_subject/ya.make @@ -0,0 +1,13 @@ +UNITTEST() + +TAG(ya:manual) + +SRCS( + tests.cpp +) + +PEERDIR( + library/cpp/testing/unittest +) + +END() diff --git a/library/cpp/testing/unittest/pytests/ya.make b/library/cpp/testing/unittest/pytests/ya.make new file mode 100644 index 0000000000..bbc1c9dec3 --- /dev/null +++ b/library/cpp/testing/unittest/pytests/ya.make @@ -0,0 +1,21 @@ +PY3TEST() + +SIZE(MEDIUM) + +TEST_SRCS( + test_tear_down.py +) + +PEERDIR( + library/python/testing/yatest_common +) + +DEPENDS( + library/cpp/testing/unittest/pytests/test_subject +) + +END() + +RECURSE( + test_subject +) diff --git a/library/cpp/testing/unittest/ut/ya.make b/library/cpp/testing/unittest/ut/ya.make new file mode 100644 index 0000000000..86efa0d788 --- /dev/null +++ b/library/cpp/testing/unittest/ut/ya.make @@ -0,0 +1,8 @@ +UNITTEST_FOR(library/cpp/testing/unittest) + +SRCS( + main.cpp + registar_ut.cpp +) + +END() diff --git a/library/cpp/testing/unittest/ya.make b/library/cpp/testing/unittest/ya.make new file mode 100644 index 0000000000..f9fa7a09b3 --- /dev/null +++ b/library/cpp/testing/unittest/ya.make @@ -0,0 +1,31 @@ +LIBRARY() + +PROVIDES(test_framework) + +PEERDIR( + contrib/libs/libxml + library/cpp/colorizer + library/cpp/dbg_output + library/cpp/diff + library/cpp/json/writer + library/cpp/testing/common + library/cpp/testing/hook +) + +SRCS( + gtest.cpp + checks.cpp + junit.cpp + plugin.cpp + registar.cpp + tests_data.cpp + utmain.cpp +) + +END() + +RECURSE_FOR_TESTS( + fat + pytests + ut +) |