IPC unit tests and testing framework improvements 77/48677/14
authorPawel Kubik <p.kubik@samsung.com>
Fri, 18 Sep 2015 13:03:33 +0000 (15:03 +0200)
committerDariusz Michaluk <d.michaluk@samsung.com>
Wed, 7 Oct 2015 14:24:17 +0000 (07:24 -0700)
commit89486aaa187165127629f9d07b52d0d129132902
tree5ba9470b7c6d795cc84397b74e79e053412f38d1
parentd9e722e1469d27bd32b62baf10999f0c865401ab
IPC unit tests and testing framework improvements

[Feature]       1. IPC unit tests
                2. Cleaner args parsing in vsm_launch_test.py
                3. Options to launch a test under custom tools
[Cause]         1. N/A
                2. Bugs when launching with external tool
                3. Ability to launch any GDB front-end
[Solution]      1. N/A
                2. Use list instead of string in Popen
                3. Two new command line options
[Verification]  Build, install run tests. Try to run single test with
                a fixture, for example:
                vsm_launch_test.py vasum-server-unit-tests -t \
                  'IPCSuite/Restart<15ThreadedFixture>'
                To test running with --gdb option run test logged as
                root or use sudo with -E option in order to preserve
                environment.

Change-Id: Icb09c0abed5c671c86a8c85d2aab1aa2b2412d29
common/utils/eventfd.cpp
common/utils/exception.hpp
libs/ipc/exception.hpp
libs/ipc/internals/processor.cpp
libs/ipc/internals/socket.cpp
libs/ipc/unique-id.cpp
tests/scripts/vsm_launch_test.py
tests/unit_tests/ipc/ut-ipc.cpp
tests/unit_tests/ipc/ut-unique-id.cpp
tests/unit_tests/utils/ut-fd-utils.cpp [new file with mode: 0644]