forked from mia/Aegisub
Init agi::log::log.
Originally committed to SVN as r5337.
This commit is contained in:
parent
34e0eb837d
commit
c33afffa03
1 changed files with 11 additions and 2 deletions
|
@ -20,8 +20,17 @@
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
#include <libaegisub/log.h>
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
::testing::InitGoogleTest(&argc, argv);
|
int retval;
|
||||||
return RUN_ALL_TESTS();
|
agi::log::log = new agi::log::LogSink("./");
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
|
||||||
|
retval = RUN_ALL_TESTS();
|
||||||
|
|
||||||
|
delete agi::log::log;
|
||||||
|
|
||||||
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue