Skip to content

Commit e5f07ba

Browse files
committed
Add tests for library/cpp/threading/future into listfile (#205)
1 parent 5b7141a commit e5f07ba

File tree

1 file changed

+53
-1
lines changed

1 file changed

+53
-1
lines changed

library/cpp/threading/future/CMakeLists.txt

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,62 @@
1+
if (YDB_SDK_TESTS)
2+
add_ydb_test(NAME threading-future-async_ut
3+
SOURCES
4+
async_ut.cpp
5+
LINK_LIBRARIES
6+
threading-future
7+
cpp-testing-unittest_main
8+
LABELS
9+
unit
10+
)
11+
12+
add_ydb_test(NAME threading-future-legacy_future_ut
13+
SOURCES
14+
legacy_future_ut.cpp
15+
LINK_LIBRARIES
16+
threading-future
17+
cpp-testing-unittest_main
18+
LABELS
19+
unit
20+
)
21+
22+
add_ydb_test(NAME threading-future-async_semaphore_ut
23+
SOURCES
24+
async_semaphore_ut.cpp
25+
LINK_LIBRARIES
26+
threading-future
27+
cpp-testing-unittest_main
28+
LABELS
29+
unit
30+
)
31+
32+
add_ydb_test(NAME threading-future-future_ut
33+
SOURCES
34+
future_ut.cpp
35+
LINK_LIBRARIES
36+
threading-future
37+
cpp-testing-unittest_main
38+
LABELS
39+
unit
40+
)
41+
42+
add_ydb_test(NAME threading-future-future_mt_ut
43+
SOURCES
44+
future_mt_ut.cpp
45+
LINK_LIBRARIES
46+
threading-future
47+
cpp-testing-unittest_main
48+
LABELS
49+
unit
50+
)
51+
endif(YDB_SDK_TESTS)
52+
153
_ydb_sdk_add_library(threading-future)
254

355
target_link_libraries(threading-future PUBLIC
456
yutil
557
)
658

7-
target_sources(threading-future
59+
target_sources(threading-future
860
PRIVATE
961
async_semaphore.cpp
1062
async.cpp

0 commit comments

Comments
 (0)