Init agi::log::log.

Originally committed to SVN as r5337.
This commit is contained in:
Amar Takhar 2011-02-09 23:37:18 +00:00
parent 34e0eb837d
commit c33afffa03

View file

@ -20,8 +20,17 @@
#include <gtest/gtest.h>
#include <libaegisub/log.h>
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
int retval;
agi::log::log = new agi::log::LogSink("./");
::testing::InitGoogleTest(&argc, argv);
retval = RUN_ALL_TESTS();
delete agi::log::log;
return retval;
}