NIL test suite freeze Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
tfAteba
Posts: 547
Joined: Fri Oct 16, 2015 11:03 pm
Location: Strasbourg, France
Has thanked: 91 times
Been thanked: 48 times

Re: NIL test suite freeze

Postby tfAteba » Mon Jan 22, 2018 10:33 pm

Hello Giovanni,

Giovanni wrote:
There are two test threads, one first thread, the one that launches the test suite and one service thread whose argument is the pointer to the first one "2" is the position in the threads table.


That was my problem, I had just one thread for the NIL test suite. I did not notice that there was the need of two threads.

After following you recommendations, every things works good!

The NIL Test suite runs successfully too on arduino Mega2560 board :) , so I have updated the code in trunk.

Just for information, here is the output of the test:

Code: Select all

*** ChibiOS/NIL Test Suite
***
*** Compiled:     Jan 22 2018 - 22:18:35
*** Platform:     AVR
*** Test Board:   Arduino Mega

============================================================================
=== Test Sequence 1 (Information)
----------------------------------------------------------------------------
--- Test Case 1.1 (Port Info)
--- Architecture:                       MegaAVR
--- Compiler:                           GCC 4.9.2
--- Port Info:                          None
--- Natural alignment:                  1
--- Stack alignment:                    1
--- Working area alignment:             1
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.2 (Kernel Info)
--- Product:                            ChibiOS/NIL
--- Stable Flag:                        0
--- Version String:                     3.0.0
--- Major Number:                       3
--- Minor Number:                       0
--- Patch Number:                       0
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 1.3 (Kernel Settings)
--- CH_CFG_NUM_THREADS:                 3
--- CH_CFG_ST_RESOLUTION:               16
--- CH_CFG_ST_FREQUENCY:                1000
--- CH_CFG_ST_TIMEDELTA:                0
--- CH_CFG_USE_SEMAPHORES:              1
--- CH_CFG_USE_MUTEXES:                 0
--- CH_CFG_USE_EVENTS:                  1
--- CH_CFG_USE_MAILBOXES:               1
--- CH_CFG_USE_MEMCORE:                 1
--- CH_CFG_USE_HEAP:                    1
--- CH_CFG_USE_MEMPOOLS:                1
--- CH_CFG_USE_OBJ_FIFOS:               1
--- CH_CFG_MEMCORE_SIZE:                128
--- CH_CFG_USE_FACTORY:                 1
--- CH_CFG_FACTORY_MAX_NAMES_LENGTH:    8
--- CH_CFG_FACTORY_OBJECTS_REGISTRY:    1
--- CH_CFG_FACTORY_GENERIC_BUFFERS:     1
--- CH_CFG_FACTORY_SEMAPHORES:          1
--- CH_CFG_FACTORY_MAILBOXES:           1
--- CH_CFG_FACTORY_OBJ_FIFOS:           1
--- CH_DBG_STATISTICS:                  0
--- CH_DBG_SYSTEM_STATE_CHECK:          0
--- CH_DBG_ENABLE_CHECKS:               0
--- CH_DBG_ENABLE_ASSERTS:              0
--- CH_DBG_ENABLE_STACK_CHECK:          0
--- Result: SUCCESS
============================================================================
=== Test Sequence 2 (Threads Functionality)
----------------------------------------------------------------------------
--- Test Case 2.1 (System Tick Counter functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 2.2 (Thread Sleep functionality)
--- Result: SUCCESS
============================================================================
=== Test Sequence 3 (Semaphores)
----------------------------------------------------------------------------
--- Test Case 3.1 (Semaphore primitives, no state change)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.2 (Semaphore primitives, with state change)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 3.3 (Semaphores timeout)
--- Result: SUCCESS
============================================================================
=== Test Sequence 4 (Suspend/Resume and Event Flags)
----------------------------------------------------------------------------
--- Test Case 4.1 (Suspend and Resume functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------
--- Test Case 4.2 (Events Flags functionality)
--- Result: SUCCESS
----------------------------------------------------------------------------

Final result: SUCCESS



Thank you for your help and your patience!
regards,

Theo.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 13 guests