[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] cmocka: print exact error message on test setup failure


On Monday, 21 August 2017 15:05:53 CEST Krzysztof Opasiak wrote:
> On 08/11/2017 09:28 AM, Andreas Schneider wrote:
> > On Thursday, 10 August 2017 19:27:55 CEST Krzysztof Opasiak wrote:
> >> Replace hard-coded message:
> > Hi Krzysztof,
> > 
> >> Could not run the test - check test fixtures
> >> 
> >> which is being printed by cmocka when test's setup() failed
> >> with exact error message produced by test run.
> >> 
> >> This is allows for example to see which assertion used in
> >> setup() failed.
> > 
> > thank you very much for you patch. However I pushed a slightly different
> > version to master and also changed the tests that they still pass.
> > 
> > I hope you're OK with it.
> 
> It's perfectly fine. Thank you;)

Thanks for your help improving cmocka :-)

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

References:
Re: [PATCH] cmocka: print exact error message on test setup failureAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: [PATCH] cmocka: print exact error message on test setup failureKrzysztof Opasiak <k.opasiak@xxxxxxxxxxx>