Split existing tests into environment categories.
authorLukasz Kostyra <l.kostyra@partner.samsung.com>
Wed, 31 Jul 2013 09:26:37 +0000 (11:26 +0200)
committerMarcin Niesluchowski <m.niesluchow@samsung.com>
Thu, 23 Jan 2014 14:07:37 +0000 (15:07 +0100)
commit9fe04fca259a1d604a80ba74156ad9877778d2ee
treed1f6e47f6347bf7d60c3e79c089baafd608a8e49
parent1233f1ee623b171c623563a23e013f392296af2c
Split existing tests into environment categories.

[Issue#]        SSDWSSP-416
[Feature]       Split existing tests into two categories: those that pass only on SMACK environment
                and those that pass no matter if SMACK exists on the system or not.
[Cause]         Launching tests on NOSMACK environment caused them to fail, because the environment
                behaved differently when SMACK was turned off. Failing tests expected different
                results than they should have.
[Solution]      Using recently added macros RUNNER_TEST_SMACK and RUNNER_CHILD_TEST_SMACK tests were
                split into two categories mentioned above in Feature section.
[Verification]  Run tests on an image with SMACK turned on and off. There should be less tests on an
                environment with SMACK turned OFF, others should pass (or fail) just as they do with
                SMACK turned on.

Change-Id: Ic313214eb578ce00f2156d434cd8358ad526c03f
tests/libprivilege-control-tests/test_cases.cpp
tests/libsmack-tests/CMakeLists.txt
tests/libsmack-tests/test_cases.cpp
tests/security-server-tests/CMakeLists.txt
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_label.cpp
tests/security-server-tests/security_server_tests_server.cpp
tests/security-server-tests/security_server_tests_weird_arguments.cpp