RTEMS | testsuites/sptests: Add spcan02 POSIX functional test for virtual CAN bus (!1113)
MITHILESH MATTAPALLI (@mithileshm)
gitlab at rtems.org
Fri Mar 13 13:07:13 UTC 2026
MITHILESH MATTAPALLI commented on a discussion on testsuites/sptests/spcan02/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1113#note_145322
> + rtems_test_assert( can1->sent == CAN_FRAMES_TO_SEND );
> + rtems_test_assert( can2->received == CAN_FRAMES_TO_SEND );
> +
> + close( can1->fd );
> + close( can2->fd );
> + free( can1 );
> + free( can2 );
> +
> + TEST_END();
> + rtems_test_exit( 0 );
> +}
> +
> +#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
> +#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
> +
> +#define CONFIGURE_MAXIMUM_TASKS 10
I have reduced `CONFIGURE_MAXIMUM_TASKS` to 3 and added `CONFIGURE_MAXIMUM_BARRIERS 1`
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1113#note_145322
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260313/4344d03e/attachment-0001.htm>
More information about the bugs
mailing list