On Mon, 25 Feb 2008, Bart Van Assche wrote:

> While all exp-drd regression tests ran fine on my development system,
> the pth_barrier regression test failed on all systems the nightly
> build ran on. The result of this regression test must be that a single
> data race is be reported. Depending on how the Valgrind core scheduled
> the threads of this test, the data race is either reported in thread 2
> or in thread 3. Furthermore, the details of the call stacks printed
> depend on the glibc library used during the test. So I would like to
> change this test such that only the number of errors is compared
> during the regression tests instead of the full output. I would like
> to have a facility to suppress the output of the error messages
> generated by a tool while keeping the error count summary. Should I
> implement such functionality in the Valgrind core or in the exp-drd
> tool ?

For this specific problem, it would be easier to use a filter script for the 
test output, to remove the information you don't want.  See the comment at 
the top of tests/vg_regtest, particular the stuff about 
"stderr_filter"/"stdout_filter".

Nick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to