ARMmbed / core-util

DEPRECATED: Mbed 3 utilities library
Other
12 stars 17 forks source link

[devel_transport] Port tests to async model #84

Closed stegut01 closed 8 years ago

stegut01 commented 8 years ago

Test core-util-test-uninitialized is unstable. Still work to do. Test results from $mbedgt -VS --report-junit JUnit.xml:

mbedgt: test suite report:
+---------------+---------------+----------------------------------------+--------+--------------------+-------------+
| target        | platform_name | test suite                             | result | elapsed_time (sec) | copy_method |
+---------------+---------------+----------------------------------------+--------+--------------------+-------------+
| frdm-k64f-gcc | K64F          | core-util-test-array                   | OK     | 11.1               | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-binaryheap              | OK     | 12.34              | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-eventhandler            | OK     | 17.69              | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-extendablepoolallocator | OK     | 10.84              | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-functionpointer         | OK     | 11.65              | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-poolallocator           | OK     | 10.76              | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-sbrk-mini               | OK     | 10.43              | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-sharedpointer           | OK     | 11.06              | shell       |
| frdm-k64f-gcc | K64F          | core-util-test-uninitialized           | ERROR  | 9.94               | shell       |
+---------------+---------------+----------------------------------------+--------+--------------------+-------------+
mbedgt: test suite results: 8 OK / 1 ERROR
mbedgt: test case report:
+---------------+---------------+----------------------------------------+-----------------------------------------------------------+--------+--------+--------+--------------------+
| target        | platform_name | test suite                             | test case                                                 | passed | failed | result | elapsed_time (sec) |
+---------------+---------------+----------------------------------------+-----------------------------------------------------------+--------+--------+--------+--------------------+
| frdm-k64f-gcc | K64F          | core-util-test-poolallocator           | PoolAllocator  - test_pool_allocator                      | 1      | 0      | OK     | 0.08               |
| frdm-k64f-gcc | K64F          | core-util-test-sharedpointer           | SharedPointer  - test_shared_pointer                      | 1      | 0      | OK     | 0.17               |
| frdm-k64f-gcc | K64F          | core-util-test-array                   | Array  - test with complex data                           | 1      | 0      | OK     | 0.08               |
| frdm-k64f-gcc | K64F          | core-util-test-array                   | Array  - test with plain old data                         | 1      | 0      | OK     | 0.08               |
| frdm-k64f-gcc | K64F          | core-util-test-binaryheap              | BinaryHeap  - test_max_heap_non_pod                       | 1      | 0      | OK     | 0.17               |
| frdm-k64f-gcc | K64F          | core-util-test-binaryheap              | BinaryHeap  - test_max_heap_pod                           | 1      | 0      | OK     | 0.15               |
| frdm-k64f-gcc | K64F          | core-util-test-binaryheap              | BinaryHeap  - test_min_heap_non_pod                       | 1      | 0      | OK     | 0.17               |
| frdm-k64f-gcc | K64F          | core-util-test-binaryheap              | BinaryHeap  - test_min_heap_pod                           | 1      | 0      | OK     | 0.16               |
| frdm-k64f-gcc | K64F          | core-util-test-functionpointer         | FunctionPointer  - test_function_pointer                  | 1      | 0      | OK     | 0.81               |
| frdm-k64f-gcc | K64F          | core-util-test-extendablepoolallocator | ExtendablePoolAllocator  - test_extendable_pool_allocator | 1      | 0      | OK     | 0.1                |
| frdm-k64f-gcc | K64F          | core-util-test-eventhandler            | EventHandler  - test_array_of_events                      | 1      | 0      | OK     | 0.5                |
| frdm-k64f-gcc | K64F          | core-util-test-eventhandler            | EventHandler  - test_class_funcs_tca                      | 1      | 0      | OK     | 2.4                |
| frdm-k64f-gcc | K64F          | core-util-test-eventhandler            | EventHandler  - test_event_assignment_and_swap            | 1      | 0      | OK     | 0.82               |
| frdm-k64f-gcc | K64F          | core-util-test-eventhandler            | EventHandler  - test_funcs_nontca                         | 1      | 0      | OK     | 1.03               |
| frdm-k64f-gcc | K64F          | core-util-test-eventhandler            | EventHandler  - test_standalone_funcs                     | 1      | 0      | OK     | 1.1                |
+---------------+---------------+----------------------------------------+-----------------------------------------------------------+--------+--------+--------+--------------------+
mbedgt: test case results: 15 OK
mbedgt: completed in 107.57 sec
mbedgt: exited with code 1
$yt ls
core-util 1.3.0
|_ ualloc 1.0.3
| \_ dlmalloc 1.0.0 yotta_modules\dlmalloc
|_ cmsis-core 1.1.2
| \_ cmsis-core-freescale 1.0.0 yotta_modules\cmsis-core-freescale
|   \_ cmsis-core-k64f 1.0.0 yotta_modules\cmsis-core-k64f
|_ mbed-drivers 0.12.1
| |_ mbed-hal 1.2.2 yotta_modules\mbed-hal
| | \_ mbed-hal-freescale 1.0.0 yotta_modules\mbed-hal-freescale
| |   \_ mbed-hal-ksdk-mcu 1.0.8 yotta_modules\mbed-hal-ksdk-mcu
| |     |_ uvisor-lib 1.0.12 yotta_modules\uvisor-lib
| |     \_ mbed-hal-k64f 1.1.0 yotta_modules\mbed-hal-k64f
| |       \_ mbed-hal-frdm-k64f 1.0.2 yotta_modules\mbed-hal-frdm-k64f
| |_ minar 1.0.4 yotta_modules\minar
| | \_ minar-platform 1.0.0 yotta_modules\minar-platform
| |   \_ minar-platform-mbed 1.1.2 yotta_modules\minar-platform-mbed
| \_ compiler-polyfill 1.2.1 yotta_modules\compiler-polyfill
|_ greentea-client 0.1.4
|_ utest 1.9.1 yotta_modules\utest -> C:\Users\stefan.gutmann@arm.com\Documents\GitHub\Demo\utest
\_ unity 2.1.0
PrzemekWirkus commented 8 years ago

@niklas-arm & @0xc0170 Niklas, martin, please review ! :)

stegut01 commented 8 years ago

@0xc0170 could you please review and merge