2026-07-30 23:03:37 +02:00

231 lines
11 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Start testing: Jul 30 23:03 CEST
----------------------------------------------------------
1/5 Testing: ServiceModuleTests
1/5 Test: ServiceModuleTests
Command: "/home/ken/Projects/Tactility/buildsim-posix/Tests/service-module/ServiceModuleTests"
Directory: /home/ken/Projects/Tactility/buildsim-posix/Tests/service-module
"ServiceModuleTests" start time: Jul 30 23:03 CEST
Output:
----------------------------------------------------------
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[doctest] doctest version is "2.4.11"
[doctest] run with "--help" for options
 D (0) service_instance construct instance-test
 D (0) service_instance destruct instance-test
 I (0) service_registration add duplicate-test
 E (0) service_registration Manifest with id 'duplicate-test' is already registered
 I (0) service_registration remove duplicate-test
 I (0) service_registration add lifecycle-test
 D (0) service_instance construct lifecycle-test
 I (0) service_registration start lifecycle-test
 I (0) service_registration stop lifecycle-test
 D (0) service_instance destruct lifecycle-test
 I (0) service_registration remove lifecycle-test
 I (0) service_registration add auto-start-test
 D (0) service_instance construct auto-start-test
 I (0) service_registration start auto-start-test
 I (0) service_registration stop auto-start-test
 D (0) service_instance destruct auto-start-test
 I (0) service_registration remove auto-start-test
 I (0) service_registration add failing-start-test
 D (0) service_instance construct failing-start-test
 I (0) service_registration start failing-start-test
 E (0) service_registration Failed to start failing-start-test: resource
 D (0) service_instance destruct failing-start-test
 I (0) service_registration remove failing-start-test
===============================================================================
[doctest] test cases: 13 | 13 passed | 0 failed | 0 skipped
[doctest] assertions: 62 | 62 passed | 0 failed |
[doctest] Status: SUCCESS!
<end of output>
Test time = 0.00 sec
----------------------------------------------------------
Test Passed.
"ServiceModuleTests" end time: Jul 30 23:03 CEST
"ServiceModuleTests" time elapsed: 00:00:00
----------------------------------------------------------
3/5 Testing: TactilityKernelTests
3/5 Test: TactilityKernelTests
Command: "/home/ken/Projects/Tactility/buildsim-posix/Tests/TactilityKernel/TactilityKernelTests"
Directory: /home/ken/Projects/Tactility/buildsim-posix/Tests/TactilityKernel
"TactilityKernelTests" start time: Jul 30 23:03 CEST
Output:
----------------------------------------------------------
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
 I (0) kernel init
 I (0) module start kernel
 I (0) driver add root
 I (0) driver add battery-sense
 I (0) driver add battery-sense-power-supply
 I (0) driver add gpio_hog
 I (0) driver add pwm_backlight
 I (0) driver add gpio_backlight
 I (0) driver add rgb_led_gpio
 I (0) driver add rgb_led_pwm
 I (0) module start platform-posix
 I (0) driver add mock_wifi
 I (0) kernel init done
[doctest] doctest version is "2.4.11"
[doctest] run with "--help" for options
 I (0) driver add device_get_put_test_driver
 D (0) device construct get_not_started
 D (0) device add get_not_started
 D (0) device remove get_not_started
 D (0) device destruct get_not_started
 I (0) driver remove device_get_put_test_driver
 I (0) driver add device_get_put_test_driver
 D (0) device construct get_after_destruct
 D (0) device add get_after_destruct
 D (0) device remove get_after_destruct
 D (0) device destruct get_after_destruct
 I (0) driver remove device_get_put_test_driver
 I (0) driver add device_get_put_test_driver
 D (0) device construct get_started
 D (0) device add get_started
 I (0) device start get_started
 I (0) driver bound device_get_put_test_driver to get_started
 I (0) device stop get_started
 I (0) driver unbound device_get_put_test_driver from get_started
 D (0) device remove get_started
 D (0) device destruct get_started
 I (0) driver remove device_get_put_test_driver
 I (0) driver add device_get_put_test_driver
 D (0) device construct get_put_concurrent
 D (0) device add get_put_concurrent
 I (0) device start get_put_concurrent
 I (0) driver bound device_get_put_test_driver to get_put_concurrent
 I (0) Thread Starting device_get_put_worker
 I (0) device stop get_put_concurrent
 I (0) driver unbound device_get_put_test_driver from get_put_concurrent
 D (0) device remove get_put_concurrent
 I (1) Thread Stopped device_get_put_worker
 D (1) device destruct get_put_concurrent
 I (1) driver remove device_get_put_test_driver
 I (1) driver add device_get_put_test_driver
 D (1) device construct get_by_name_device
 D (1) device add get_by_name_device
 I (1) device start get_by_name_device
 I (1) driver bound device_get_put_test_driver to get_by_name_device
 I (1) device stop get_by_name_device
 I (1) driver unbound device_get_put_test_driver from get_by_name_device
 D (1) device remove get_by_name_device
 D (1) device destruct get_by_name_device
 I (1) driver remove device_get_put_test_driver
 D (1) device construct (null)
 D (1) device destruct (null)
 D (1) device construct (null)
 D (1) device destruct (null)
 D (1) device construct (null)
 D (1) device add (null)
 D (1) device remove (null)
 D (1) device destruct (null)
 D (1) device construct device
 D (1) device add device
 D (1) device remove device
 D (1) device destruct device
 D (1) device construct parent
 D (1) device add parent
 D (1) device construct child
 D (1) device add child
 D (1) device remove child
 D (1) device destruct child
 D (1) device remove parent
 D (1) device destruct parent
 D (1) device construct device
 D (1) device add device
 D (1) device remove device
 D (1) device destruct device
 D (1) device construct device
 D (1) device add device
 D (1) device remove device
 D (1) device destruct device
 D (1) device construct parent
 D (1) device add parent
 D (1) device construct child[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.
[WARN] Increase the stack size to PTHREAD_STACK_MIN.
 D (1) device add child
 D (1) device remove child
 D (1) device destruct child
 D (1) device remove parent
 D (1) device destruct parent
 D (1) device construct device
 D (1) device add device
 D (1) device remove device
 D (1) device destruct device
 I (1) driver add test_driver
 D (1) device construct (null)
 D (1) device add (null)
 I (1) device start (null)
 I (1) driver bound test_driver to (null)
 I (1) device stop (null)
 I (1) driver unbound test_driver from (null)
 D (1) device remove (null)
 D (1) device destruct (null)
 I (1) driver remove test_driver
 I (2) driver add integration_test_driver
 D (2) device construct integration_device
 D (2) device add integration_device
 I (2) driver bound integration_test_driver to integration_device
 I (2) driver unbound integration_test_driver from integration_device
 D (2) device remove integration_device
 D (2) device destruct integration_device
 I (2) driver remove integration_test_driver
 I (2) driver add (null)
 I (2) driver remove (null)
 I (2) driver add test_driver
 I (2) driver remove test_driver
 I (2) module start test
 I (2) module start test
 I (2) module stop test
 I (2) module stop test
 I (2) module start test
 I (2) module start test
 I (2) module stop test
 I (2) module stop test
 I (2) module start test_sym
 I (2) module start test_ensure_started
 I (2) module stop test_ensure_started
 I (2) module start test_ensure_destructed
 I (2) module stop test_ensure_destructed
 I (6) Thread Starting immediate return task
 I (6) Thread Stopped immediate return task
 I (6) Thread Starting interruptable thread
 I (7) Thread Stopped interruptable thread
 I (7) Thread Starting interruptable thread
 I (8) Thread Stopped interruptable thread
 I (8) Thread Starting interruptable thread
 I (9) Thread Stopped interruptable thread
 I (9) Thread Starting return code
 I (9) Thread Stopped return code
===============================================================================
[doctest] test cases: 88 | 88 passed | 0 failed | 0 skipped
[doctest] assertions: 450 | 450 passed | 0 failed |
[doctest] Status: SUCCESS!
<end of output>
Test time = 0.42 sec
----------------------------------------------------------
Test Passed.
"TactilityKernelTests" end time: Jul 30 23:03 CEST
"TactilityKernelTests" time elapsed: 00:00:00
----------------------------------------------------------
End testing: Jul 30 23:03 CEST