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

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




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;)

Best regards,
--
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics

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