xiaoxiang781216 commented on PR #1500: URL: https://github.com/apache/nuttx-apps/pull/1500#issuecomment-1402349964
> > Why not skip the test which involve task_xxx function instead simulating task by pthread? > > Of course that is another way of doing it. I thought this would be better, many tests create "workers" via task_create and I thought it would be fine to use pthreads for that. > If the case doesn't depend on task_create, it's better to migrate to pthread or remove task_create calling directly. > We currently do not have any kind of ostest for CONFIG_BUILD_KERNEL, I made this to have at least something. It is not a full implementation but IMO better than nothing. If the test invokes the function doesn't exist in kernel mode: 1. Change to the similar function exist in kernel mode 2. Skip the test by `#ifdef CONFIG_BUILD_KERNEL` if it indeed test the specific function -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
