pussuw commented on PR #1500:
URL: https://github.com/apache/nuttx-apps/pull/1500#issuecomment-1402365015

   > If the test invokes the function which is impossible to implement in 
kernel mode:
   > 
   >     1. Change to the similar function exist in kernel mode
   
   
   The similar function is posix_spawn(), which requires:
   - The test case is split into another (or perhaps even multiple) process's, 
compiled into a file, which can be started with posix_spawn()
   - Potential communication between the two (or multiple) processes
   Achieving this kind of functionality is a lot of work which I'm not prepared 
to do at this point.
   
   >     2. Skip the test by `#ifdef CONFIG_BUILD_KERNEL` if it indeed test the 
specific function
   Skipping these kind of tests is fine by me, but I don't know which tests 
could be converted to use pthread and which must be skipped. I already disabled 
some of the tests that I know won't work in kernel mode.


-- 
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]

Reply via email to