From 56828d241a618c94f0526b5fd498b7f3ce540230 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 22 Aug 2022 17:54:16 +0200 Subject: Test: Add tests for file locking utility class --- test/utils/cpp/TARGETS | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'test/utils/cpp/TARGETS') diff --git a/test/utils/cpp/TARGETS b/test/utils/cpp/TARGETS index 0b9e6518..8e237a65 100644 --- a/test/utils/cpp/TARGETS +++ b/test/utils/cpp/TARGETS @@ -42,9 +42,22 @@ , ["src/utils/cpp", "archive_ops"] ] } +, "file_locking": + { "type": ["@", "rules", "CC/test", "test"] + , "name": ["file_locking"] + , "srcs": ["file_locking.test.cpp"] + , "private-deps": + [ ["@", "catch2", "", "catch2"] + , ["test", "catch-main"] + , ["src/buildtool/file_system", "file_system_manager"] + , ["src/utils/cpp", "file_locking"] + , ["src/utils/cpp", "atomic"] + ] + , "stage": ["test", "utils", "cpp"] + } , "TESTS": { "type": "install" , "tainted": ["test"] - , "deps": ["path", "curl_usage_test", "archive_usage"] + , "deps": ["path", "curl_usage_test", "archive_usage", "file_locking"] } } -- cgit v1.2.3