Capturing output of valgrind into programming

171 Views Asked by At

I want to test a C code under valgrind with different option. And I want to be able to capture all the outputs and report test success/fail depending on the result of those runs. Initially I thought of perl module Test::Valgrind but was not able to use it. Is there any other option to do this?

1

There are 1 best solutions below

0
On

Nearly all available languages provide means of capturing output of external program runs.