From d6ffd0adb6aa1eba999e90ed6c8c8f1aef2508e2 Mon Sep 17 00:00:00 2001
From: Pavel Tsayukov
Date: Tue, 6 Aug 2024 19:20:02 +0300
Subject: [PATCH] Add listfile for library/cpp/colorizer unit tests
---
library/cpp/colorizer/CMakeLists.txt | 4 ++++
library/cpp/colorizer/ut/CMakeLists.txt | 9 +++++++++
2 files changed, 13 insertions(+)
create mode 100644 library/cpp/colorizer/ut/CMakeLists.txt
diff --git a/library/cpp/colorizer/CMakeLists.txt b/library/cpp/colorizer/CMakeLists.txt
index a1a43d269fc..8767a79d967 100644
--- a/library/cpp/colorizer/CMakeLists.txt
+++ b/library/cpp/colorizer/CMakeLists.txt
@@ -1,3 +1,7 @@
+if (YDB_SDK_TESTS)
+ add_subdirectory(ut)
+endif()
+
_ydb_sdk_add_library(colorizer)
target_link_libraries(colorizer PUBLIC
diff --git a/library/cpp/colorizer/ut/CMakeLists.txt b/library/cpp/colorizer/ut/CMakeLists.txt
new file mode 100644
index 00000000000..5eaa92ed1b3
--- /dev/null
+++ b/library/cpp/colorizer/ut/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_ydb_test(NAME colorizer-ut
+ SOURCES
+ colorizer_ut.cpp
+ LINK_LIBRARIES
+ colorizer
+ cpp-testing-unittest_main
+ LABELS
+ unit
+)