diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2022-08-22 17:54:16 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-01-20 13:57:18 +0100 |
commit | 56828d241a618c94f0526b5fd498b7f3ce540230 (patch) | |
tree | 8a6ea54c1d62ca265d8564626afa27fa25f9edc0 /test/utils/cpp/TARGETS | |
parent | 33812e4986bc03e42e3d61cc008cae301a6ddf89 (diff) | |
download | justbuild-56828d241a618c94f0526b5fd498b7f3ce540230.tar.gz |
Test: Add tests for file locking utility class
Diffstat (limited to 'test/utils/cpp/TARGETS')
-rw-r--r-- | test/utils/cpp/TARGETS | 15 |
1 files changed, 14 insertions, 1 deletions
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"] } } |