Improve XML test results collector.
authorZbigniew Kostrzewa <z.kostrzewa@samsung.com>
Mon, 14 Jan 2013 09:40:13 +0000 (10:40 +0100)
committerZbigniew Kostrzewa <z.kostrzewa@samsung.com>
Mon, 14 Jan 2013 10:23:00 +0000 (11:23 +0100)
commita64a5b2692118f554f5d1310534a5276ba62953e
treefbfbcbcef98b103c49e1aed7177cb8f8241f215d
parent6c8755d2e870d7235e6af67320fdbcd588e5e48b
Improve XML test results collector.

[Issue#]       N/A
[Bug]          testsuite tag attributes are not filled out when
segmentation fault occurs
[Cause]        values of those attributes are filled out at the end of a
successful run of a test binary
[Solution]     update attributes values after each test case
[Verification]
1. Build repository
2. Run wrt-tests-misc test suite with output set to xml and text
  `wrt-tests-misc --output=xml --output=text`
3. Compare results
4. Check whether file results.xml is a valid XML document.

Change-Id: Ic3c5fa0b3ce6b943cf1ac949b3313d436ed4f8b0
modules/test/src/test_results_collector.cpp