Mercurial > hg > orthanc-stone
changeset 1177:c3d219b6266b broker
fix to make unit tests run again on windowless systems
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Nov 2019 13:37:50 +0100 |
parents | 57b38e609d32 |
children | 3c7cdbf32e2a |
files | UnitTestsSources/UnitTestsMain.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/UnitTestsSources/UnitTestsMain.cpp Wed Nov 20 13:36:08 2019 +0100 +++ b/UnitTestsSources/UnitTestsMain.cpp Wed Nov 20 13:37:50 2019 +0100 @@ -827,12 +827,13 @@ int main(int argc, char **argv) { - OrthancStone::StoneInitialize(); + Orthanc::Logging::Initialize(); + Orthanc::Logging::EnableInfoLevel(true); ::testing::InitGoogleTest(&argc, argv); int result = RUN_ALL_TESTS(); - OrthancStone::StoneFinalize(); + Orthanc::Logging::Finalize(); return result; }