mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 21:21:37 +00:00
test(tools): add tests for the tools library
- RateLimiter: lower bound of the duration at 200 Hz; rate 0 does not sleep - InstanceLimiter: throws above the limit, counts down on destruction - Semaphore and SharedSemaphore: counts, blocking Wait(), shared count - ToString(), StrStartsWith(), StrEndsWith(), ToStrVector() - Uuid() and UuidHash() are unique - execute(): output with prefix, stderr, exit code, stdin input, signal, timeout - Skip Tools.NetworkDefaultIP on a machine without a default route Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -263,6 +263,7 @@ add_testsuite(Tools
|
||||
SOURCES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/runner.cxx
|
||||
tools/_network.cxx
|
||||
tools/_tools.cxx
|
||||
|
||||
LINKS FairMQ
|
||||
INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
||||
Reference in New Issue
Block a user