You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/03/26 18:51:50 UTC

[GitHub] [mynewt-nimble] turon opened a new issue #785: [npl] linux porting layer unit tests fail

turon opened a new issue #785: [npl] linux porting layer unit tests fail
URL: https://github.com/apache/mynewt-nimble/issues/785
 
 
   ```
   ~/mynewt-nimble/porting/npl/linux/test$ make test
   ./test_npl_task.exe
   All tests passed
   ./test_npl_callout.exe
   All tests passed
   ./test_npl_eventq.exe
   All tests passed
   ./test_npl_sem.exe
   make: *** [Makefile:94: test] Segmentation fault
   ```
   
   It may be good to add these tests as a github action that gates pull requests.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [mynewt-nimble] turon commented on issue #785: [npl] linux porting layer unit tests fail

Posted by GitBox <gi...@apache.org>.
turon commented on issue #785: [npl] linux porting layer unit tests fail
URL: https://github.com/apache/mynewt-nimble/issues/785#issuecomment-604690428
 
 
   Looks like this can be fixed by replacing main loop in [`test_os_sem.c`](https://github.com/apache/mynewt-nimble/blob/master/porting/npl/linux/test/test_npl_sem.c#L150):
   
   BEFORE:
   ```
      while (1)
       {
           ble_npl_eventq_run(ble_npl_eventq_dflt_get());
       }
   ```
   
   AFTER:
   ```
       while (1) {}
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [mynewt-nimble] sjanc commented on issue #785: [npl] linux porting layer unit tests fail

Posted by GitBox <gi...@apache.org>.
sjanc commented on issue #785: [npl] linux porting layer unit tests fail
URL: https://github.com/apache/mynewt-nimble/issues/785#issuecomment-610997957
 
 
   hmm works for me for both 1.3 and master
   [janc@ix test]$ make test
   ./test_npl_task.exe
   All tests passed
   ./test_npl_callout.exe
   All tests passed
   ./test_npl_eventq.exe
   All tests passed
   ./test_npl_sem.exe
   All tests passed
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services