Add summary view to all security tests.
authorMichal Witanowski <m.witanowski@samsung.com>
Wed, 20 Nov 2013 10:52:55 +0000 (11:52 +0100)
committerMarcin Niesluchowski <m.niesluchow@samsung.com>
Thu, 23 Jan 2014 14:21:36 +0000 (15:21 +0100)
commit1f83ced0374bff81725dd25e2fe68a406d567716
treef36232ca82ef2c174c5a423249161bc32c307ebc
parentc91d753c50be51417740b548aaaceca6e830e0cf
Add summary view to all security tests.

[Issue#]       SSDWSSP-522
[Bug/Feature]  Running security tests via security-tests-all.sh prints
               summary view (all tests results summed together).
[Cause]        N/A
[Solution]     A new results collector for WRT tests runner was created
               (SummaryCollector in summary_collector.h). The collector
               counts all the test cases results and appends a line to
               a temporary file containing: number of all test cases,
               succeeded, failed and ignored.
               Then, after the tests are executed, tests-summary.sh
               sums the columns and prints summary in the console.
[Verification] Build, install, run all security tests via
               security-tests-all.sh and wait for summary at the very
               end of script output.

Change-Id: Id44cfb90acbc426e17e1971807e6eef0496c7805
16 files changed:
packaging/security-tests.spec
tests/CMakeLists.txt
tests/common/CMakeLists.txt
tests/common/summary_collector.cpp [new file with mode: 0644]
tests/common/summary_collector.h [new file with mode: 0644]
tests/libprivilege-control-tests/libprivilege-control-test.cpp
tests/libsmack-tests/libsmack-test.cpp
tests/security-server-tests/security_server_measurer_API_speed.cpp
tests/security-server-tests/security_server_tests_client_smack.cpp
tests/security-server-tests/security_server_tests_dbus.cpp
tests/security-server-tests/security_server_tests_password.cpp
tests/security-server-tests/security_server_tests_stress.cpp
tests/security-server-tests/server.cpp
tests/security-tests-all.sh
tests/security-tests.sh
tests/tests-summary.sh [new file with mode: 0644]