mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:30:06 +00:00
Initialize AWS SDK
This commit is contained in:
parent
c0145f1abd
commit
bd68f1adbd
2 changed files with 18 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include <scwx/util/logger.hpp>
|
||||
|
||||
#include <aws/core/Aws.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
|
|
@ -8,6 +9,13 @@ int main(int argc, char** argv)
|
|||
scwx::util::Logger::Initialize();
|
||||
spdlog::set_level(spdlog::level::debug);
|
||||
|
||||
Aws::SDKOptions awsSdkOptions;
|
||||
Aws::InitAPI(awsSdkOptions);
|
||||
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
int result = RUN_ALL_TESTS();
|
||||
|
||||
Aws::ShutdownAPI(awsSdkOptions);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue