From: Junghyun Yeon Date: Wed, 7 Apr 2021 07:23:23 +0000 (+0900) Subject: Call db create functions before starting smoke test X-Git-Tag: accepted/tizen/unified/20210611.013651~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F256567%2F3;p=platform%2Fcore%2Fappfw%2Fwgt-backend.git Call db create functions before starting smoke test Database will not be created automatically. Related changes: [app-installers] : https://review.tizen.org/gerrit/#/c/platform/core/appfw/app-installers/+/256566/ Change-Id: I40b4542b06c69ce3b80f37c81660dfdbe43c3eed Signed-off-by: Junghyun Yeon --- diff --git a/test/smoke_tests/smoke_test.cc b/test/smoke_tests/smoke_test.cc index ec82d92..53377a8 100644 --- a/test/smoke_tests/smoke_test.cc +++ b/test/smoke_tests/smoke_test.cc @@ -32,6 +32,7 @@ class SmokeEnvironment : public testing::Environment { backups_ = SetupBackupDirectories(test_user.uid); for (auto& path : backups_) ASSERT_TRUE(BackupPath(path)); + CreateDatabase(); } void TearDown() override { ASSERT_TRUE(request_mode_ == ci::RequestMode::GLOBAL ||