开发者

tools for running test binaries

开发者 https://www.devze.com 2023-02-16 20:09 出处:网络
I\'m looking for a tool that could run a unit test, which is a normal unix binary, as many instances concurrently.I also need the tool to gather any cores and stop on failure.Ability to allow some fai

I'm looking for a tool that could run a unit test, which is a normal unix binary, as many instances concurrently. I also need the tool to gather any cores and stop on failure. Ability to allow some failures is a bonus.

Idea is to stress test a multi-threaded application with a large amount of test processes running concurrently. A single unit-test crashes very seldom, so I want to run many of them at the same time to maximize my chances of catching the bug.

Extra credit if the tool can be daemonized to constantly run a set of binaries, with the ability to control it from outside.

UPDATE:

I ended up implementing a test driver with Python (runs multiple tests concurrently, restarting a test if it completes successfu开发者_开发知识库lly). The test driver can be signaled to stop by creating a stamp file. This test driver is in turn invoked by a buildbot builder and stopped when a new revision is published. This approach seems to work reasonably well.


Valgrind Maybe ?

http://valgrind.org/

0

精彩评论

暂无评论...
验证码 换一张
取 消