mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-05 11:28:22 +08:00
fixed unit tests (log not initialized)
This commit is contained in:
@@ -31,7 +31,11 @@ main(int argc, char **argv)
|
||||
CArchMiscWindows::setInstanceWin32(GetModuleHandle(NULL));
|
||||
#endif
|
||||
|
||||
CLOG->setFilter(kDEBUG2);
|
||||
CArch arch;
|
||||
arch.init();
|
||||
|
||||
CLog log;
|
||||
log.setFilter(kDEBUG2);
|
||||
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user