Make the warning in DynamicLibraryTestCase actually visible

Using wxLogWarning() doesn't work as logs are suppressed by default, but
using CATCH WARN() macro does work.
This commit is contained in:
Vadim Zeitlin
2022-04-17 18:35:34 +02:00
parent 6a48431ca1
commit c6b3b4a39c

View File

@@ -60,8 +60,8 @@ void DynamicLibraryTestCase::Load()
if ( !wxFileName::Exists(LIB_NAME) ) if ( !wxFileName::Exists(LIB_NAME) )
{ {
wxLogWarning("Shared library \"%s\" doesn't exist, " WARN("Shared library \"" << wxString(LIB_NAME) << "\" doesn't exist, "
"skipping DynamicLibraryTestCase::Load() test.", LIB_NAME); "skipping DynamicLibraryTestCase::Load() test.");
return; return;
} }
#else #else