DPL enhancement - line printing in case of error
authorPawel Broda <p.broda@partner.samsung.com>
Tue, 10 Dec 2013 15:24:09 +0000 (16:24 +0100)
committerMarcin Niesluchowski <m.niesluchow@samsung.com>
Thu, 23 Jan 2014 14:21:36 +0000 (15:21 +0100)
commitc313a71705cf7c7ede25a5cd6b31462f8bcddc1e
tree409e5e1268ae8955a7baab797054a01d286e52db
parent56f81b71c7c5fa48003abddb00ca543d1d01aa38
DPL enhancement - line printing in case of error

[Issue#]        SSDWSSP-710
[Feature]       Provides backtrace (i.e. source code file name + line number)
                in case of error.
[Cause]         Info amount in case of test failure was not sufficient
                to determine execution path. There was a need of passing
                __LINE__ or similar preprocessor macros as arguments.
[Solution]      Backtrace printing based on the gdb output (gdb is triggered
                after particular test fails).
[Verification]  Compile & install on the target. Run without gdb installed too.
                Run example tests which fails and examine the output.

Change-Id: I749b8efa9ce457df41baebbaefd6aec869f772a7
tests/common/CMakeLists.txt
tests/common/gdbbacktrace.cpp [new file with mode: 0644]
tests/common/gdbbacktrace.h [new file with mode: 0644]
tests/common/tests_common.cpp
tests/common/tests_common.h