[CodeCovarage] Automatic tests for DPL test framework
authorTomasz Iwanek <t.iwanek@samsung.com>
Wed, 17 Jul 2013 14:20:53 +0000 (16:20 +0200)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 30 Jul 2013 16:03:49 +0000 (18:03 +0200)
commit49e06166af5d2cec77b0b8eec169fd9f2afcaaaa
tree0cc48da5ebfad30beaccd079e550a5921ade516d
parent8f86a026902aa5beccaf8f8cdd30ed688b57480e
[CodeCovarage] Automatic tests for DPL test framework

[Issue#]       LINUXWRT-664
[Feature]      Tests/tests fix
[Cause]        Those tests are returning actual result of tests. Returned result should be catch and compared with expected. That comparsion should give pass or fail.
[Solution]     Add macro for catching tests results to make tests automatic.
[Verification] Build "WITH_TESTS ON" and "WITH_CHILD ON". Run:
   wrt-commons-tests-test-runner-child --output=text --regexp='t0'
   wrt-commons-tests-test-runner-child --output=text --regexp='t1'
All should pass (binary may have name wrt-commons-tests-test if previous do not exist).

Change-Id: Ie7b008813b666ceb75de28119286e497d1c4b7ac
modules/test/src/test_runner_child.cpp
tests/test/runner_child.cpp