p2pool/tests/src/main.cpp

29 lines
962 B
C++
Raw Normal View History

2021-09-03 03:12:22 -06:00
/*
* This file is part of the Monero P2Pool <https://github.com/SChernykh/p2pool>
2023-09-16 14:29:32 -06:00
* Copyright (c) 2021-2023 SChernykh <https://github.com/SChernykh>
2021-09-03 03:12:22 -06:00
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "gtest/gtest.h"
2022-02-21 01:32:32 -07:00
void p2pool_usage() {}
2023-07-11 16:25:37 -06:00
namespace p2pool { void set_main_thread(); }
2022-02-21 01:32:32 -07:00
2021-09-03 03:12:22 -06:00
int main(int argc, char** argv)
{
2023-07-11 16:25:37 -06:00
p2pool::set_main_thread();
2021-09-03 03:12:22 -06:00
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}