2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
9 #include "TestBasicEnvironment.h"
10 #include "TestUtils.h"
11 #include "commons/ilog.h"
12 #include "threads/Thread.h"
17 #include <gtest/gtest.h>
19 int main(int argc
, char **argv
)
21 testing::InitGoogleTest(&argc
, argv
);
22 CXBMCTestUtils::Instance().ParseArgs(argc
, argv
);
24 if (!testing::AddGlobalTestEnvironment(new TestBasicEnvironment()))
26 fprintf(stderr
, "Unable to add basic test environment.\n");
29 int ret
= RUN_ALL_TESTS();