From: Damian Pietruchowski Date: Mon, 27 Mar 2017 12:21:35 +0000 (+0200) Subject: [SmokeTest] Fix for recovery smoke tests X-Git-Tag: accepted/tizen/unified/20170515.154302~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e4ad744154151aee46f6fdbc39077bf6a483c3a;p=platform%2Fcore%2Fappfw%2Fwgt-backend.git [SmokeTest] Fix for recovery smoke tests Change-Id: I464fd123c34ddd4dac14a319e586a6e1c45c4dea Signed-off-by: Damian Pietruchowski --- diff --git a/src/unit_tests/smoke_test_helper.cc b/src/unit_tests/smoke_test_helper.cc index 4501e89..156b64b 100644 --- a/src/unit_tests/smoke_test_helper.cc +++ b/src/unit_tests/smoke_test_helper.cc @@ -41,7 +41,7 @@ int main(int argc, char** argv) { ci::PkgmgrInstaller pkgmgr_installer; wgt::WgtAppQueryInterface query_interface; - auto pkgmgr = ci::PkgMgrInterface::Create(argc, argv, &pkgmgr_installer, + auto pkgmgr = ci::PkgMgrInterface::Create(backend_argc, argv, &pkgmgr_installer, &query_interface); if (!pkgmgr) { LOG(ERROR) << "Options of pkgmgr installer cannot be parsed"; diff --git a/src/unit_tests/smoke_utils.cc b/src/unit_tests/smoke_utils.cc index c88f3fa..24f92b3 100644 --- a/src/unit_tests/smoke_utils.cc +++ b/src/unit_tests/smoke_utils.cc @@ -515,7 +515,7 @@ void CrashAfterEachStep(std::vector args, args.push_back(std::to_string(stepCount)); int i; for (i = 0; i < stepCount; i++) { - ci::Subprocess backend_crash("/usr/bin/tpk-backend-ut/smoke-test-helper"); + ci::Subprocess backend_crash("/usr/bin/wgt-backend-ut/smoke-test-helper"); args.back() = std::to_string(i); backend_crash.Run(args); ASSERT_NE(backend_crash.Wait(), 0);