pass: unittest: Change install path and test file name 68/253268/4 accepted/tizen/unified/20210215.130901 submit/tizen/20210215.005454
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 1 Feb 2021 04:43:51 +0000 (13:43 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 9 Feb 2021 08:16:45 +0000 (17:16 +0900)
commit01ad94bded43fc7f2ce29c5d141fe604c7f2e484
treeb49b3f7f4403f0ac7c4f96f782f7e7878cfdb71c
parent8166d6e26633b3f6ac137844ec80e6811594c709
pass: unittest: Change install path and test file name

Change install path and test file name. Tizen 6.5 requires the install
and naming format as  '/usr/bin/hal/[module name]-haltests'.

[Detailed changes]
- /usr/bin/pass_haltests -> /usr/bin/hal/power-haltests
- /usr/bin/pass_gtest    -> /usr/bin/pass-unittests

And replace -ENODEV with -ENOTSUP because hal-api-power uses
the more correct error value of -ENOTSUP.

Change-Id: Ia2c8fd772d10e8b55db4dc66d9ee4f6d2be511e4
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
packaging/pass.spec
unittest/CMakeLists.txt
unittest/pass-unittests.cpp [moved from unittest/pass_gtest.cpp with 100% similarity]
unittest/power-haltests.cpp [moved from unittest/pass_haltests.cpp with 86% similarity]