[PATCH 5/8] libtest: Allow assert checks during test begin

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 23 09:20:29 UTC 2020


On 21/11/2020 01:47, Kinsey Moore wrote:

> -----Original Message-----
> From: devel<devel-bounces at rtems.org>  On Behalf Of Sebastian Huber
> Sent: Friday, November 13, 2020 04:08
> To:devel at rtems.org
> Subject: [PATCH 5/8] libtest: Allow assert checks during test begin
>
>> Allow assert checks in test begin actions and setup fixture methods.
>> ---
>>   cpukit/include/rtems/test.h |  2 +-
>>   cpukit/libtest/t-test.c     | 29 +++++++++++++++++------------
>>   2 files changed, 18 insertions(+), 13 deletions(-)
> This patch appears to have broken ttest01.exe for arm/xilinx-zynq as well as aarch64 targets. I suspect it has also broken other arm targets. I tried looking into the failure, but I'm unfamiliar with the test framework in use.

Thanks for the report. I managed to implement a completely undefined 
setjmp()/longjmp() behaviour. I fixed it like this:

https://lists.rtems.org/pipermail/devel/2020-November/063424.html

-- 
embedded brains GmbH
Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
Phone: +49-89-18 94 741 - 16
Fax:   +49-89-18 94 741 - 08
PGP: Public key available on request.

embedded brains GmbH
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list