[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1049414 - /subversion/trunk/subversion/tests/svn_test_main.c

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 18 Dec 2010 22:36:30 +0200

hwright_at_apache.org wrote on Wed, Dec 15, 2010 at 04:21:23 -0000:
> Author: hwright
> Date: Wed Dec 15 04:21:23 2010
> New Revision: 1049414
>
> URL: http://svn.apache.org/viewvc?rev=1049414&view=rev
> Log:
> Allow tests which cause segfaults to not disrupt the other tests in the C
> testsuite. This becomes useful when committing an XFailing test of a
> segfault (which I will shortly do), or when a test starts segfaulting of
> it's own accord.
>
> This behavior is enabled by default, but can be disabled by passing
> --allow-segfaults to the test, which should make for better debugging
> of the cause of the segfault.
...
> - err = (*desc->func_opts)(opts, pool);
> + err = svn_error_create(SVN_ERR_TEST_FAILED, NULL,
> + "Test crashed (unknown reason)");

Perhaps the error message could suggest to pass --allow-segfaults?
Received on 2010-12-18 21:39:31 CET

This is an archived mail posted to the Subversion Dev mailing list.