]>
git.siccegge.de Git - frida/frida.git/blob - src/test.cxx
1 #include <gtest/gtest.h>
2 #include "log4cxx/logger.h"
3 #include "log4cxx/basicconfigurator.h"
4 #include <QApplication>
6 #include "core/Settings.hxx"
8 const char* TEST_DATA_DIRECTORY
;
10 int main(int argc
, char **argv
) {
11 testing::InitGoogleTest(&argc
, argv
);
12 log4cxx::BasicConfigurator::configure();
14 log4cxx::LevelPtr level
= log4cxx::Level::getError();
15 log4cxx::Logger::getRootLogger()->setLevel(level
);
17 QApplication::addLibraryPath(CONFIG_LIBDIR
);
20 TEST_DATA_DIRECTORY
= argv
[1];
22 TEST_DATA_DIRECTORY
= "./testdata";
24 return RUN_ALL_TESTS();