Created
February 23, 2018 11:04
-
-
Save lisitsyn/9f69efa966c7a9b1b099643b5ff51ceb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <gmock/gmock.h> | |
#include <gtest/gtest.h> | |
#include <shogun/base/init.h> | |
#include <shogun/io/SGIO.h> | |
using namespace shogun; | |
int main(int argc, char** argv) | |
{ | |
::testing::InitGoogleTest(&argc, argv); | |
::testing::InitGoogleMock(&argc, argv); | |
init_shogun_with_defaults(); | |
sg_io->set_loglevel(MSG_DEBUG); | |
int ret = RUN_ALL_TESTS(); | |
exit_shogun(); | |
return ret; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: | |
g++ -I../../../src -I../../../build/src main.cc Any_unittest.cc -L../../../third_party/libs/gmock/ -lgmock -lpthread -ggdb -g -L../../../build/src/shogun -lshogun | |
./a.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment