mirror of https://github.com/odrling/Aegisub
Init agi::log::log.
Originally committed to SVN as r5337.
This commit is contained in:
parent
34e0eb837d
commit
c33afffa03
|
@ -20,8 +20,17 @@
|
|||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <libaegisub/log.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
int retval;
|
||||
agi::log::log = new agi::log::LogSink("./");
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
|
||||
retval = RUN_ALL_TESTS();
|
||||
|
||||
delete agi::log::log;
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue