[SmokeTest] Add request mode choice 21/119621/2
authorDamian Pietruchowski <d.pietruchow@samsung.com>
Wed, 22 Feb 2017 16:12:39 +0000 (17:12 +0100)
committerjaekuk lee <juku1999@samsung.com>
Mon, 20 Mar 2017 04:31:49 +0000 (21:31 -0700)
commita3b7fb6f828acc51cdc89c296b32b4081fd0d2e4
treea52025998c42fefa9b0e4c75ce306f3a70653c41
parent1fef99c12ffdc618611d2541cae2710d213cd6fa
[SmokeTest] Add request mode choice

Smoke tests can be run with normal or global user.
Normal user is created in environment SetUp() and
is deleted in TearDown() method. Normal user name
is "smokeuser".

You can run tests by normal user with flags:
-u or --request_mode=user
You can run tests by global user with flags:
-g or --request_mode=global

Without above flags tests are run with global user
by default

Change-Id: Ibf6e195dd21c78f1c7d19c45c4fa0753ec1baf7f
CMakeLists.txt
packaging/wgt-backend.spec
src/unit_tests/CMakeLists.txt
src/unit_tests/smoke_test.cc