Author: bart Date: 2008-03-03 17:37:24 +0000 (Mon, 03 Mar 2008) New Revision: 7547
Log: The pth_broadcast test program now prints a message when finished such that the difference between successful completion and termination because of SIGALRM can be detected. Modified: trunk/exp-drd/tests/pth_broadcast.c trunk/exp-drd/tests/pth_broadcast.stderr.exp Modified: trunk/exp-drd/tests/pth_broadcast.c =================================================================== --- trunk/exp-drd/tests/pth_broadcast.c 2008-03-03 15:51:58 UTC (rev 7546) +++ trunk/exp-drd/tests/pth_broadcast.c 2008-03-03 17:37:24 UTC (rev 7547) @@ -1,8 +1,9 @@ -// Broadcast a (POSIX threads) signal to all running threads, where the -// number of threads can be specified on the command line. This test program -// is intended not only to test the correctness of drd but also to test -// whether performance does not degrade too much when the number of threads -// increases. +/** Broadcast a (POSIX threads) signal to all running threads, where the + * number of threads can be specified on the command line. This test program + * is intended not only to test the correctness of drd but also to test + * whether performance does not degrade too much when the number of threads + * increases. + */ #include <assert.h> @@ -176,5 +177,8 @@ } pthread_cond_destroy(&s_cond); pthread_mutex_destroy(&s_mutex); + + fprintf(stderr, "Done.\n"); + return 0; } Modified: trunk/exp-drd/tests/pth_broadcast.stderr.exp =================================================================== --- trunk/exp-drd/tests/pth_broadcast.stderr.exp 2008-03-03 15:51:58 UTC (rev 7546) +++ trunk/exp-drd/tests/pth_broadcast.stderr.exp 2008-03-03 17:37:24 UTC (rev 7547) @@ -1,3 +1,4 @@ +Done. ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ------------------------------------------------------------------------- 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