don't run vsnprintf() test if we're using the system version, there is nothing we can do about its failures then anyhow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-05-30 22:11:51 +00:00
parent fc215b4140
commit 05b5a45f96
2 changed files with 4 additions and 7 deletions

View File

@ -19,6 +19,8 @@
#pragma hdrstop
#endif
#if wxUSE_WXVSNPRINTF
#ifndef WX_PRECOMP
#include "wx/wx.h"
#include "wx/wxchar.h"
@ -549,3 +551,5 @@ void VsnprintfTestCase::Miscellaneous()
DoMisc(5, wxT("%%%%%"), 6, wxT("%%%%%%%%%%"));
DoMisc(6, wxT("%%%%12"), 7, wxT("%%%%%%%%%d"), 12);
}
#endif // wxUSE_WXVSNPRINTF

View File

@ -78,13 +78,6 @@ bool TestApp::OnInit()
cout << "Test program for wxWidgets\n"
<< "build: " << WX_BUILD_OPTIONS_SIGNATURE << std::endl;
#if !wxUSE_WXVSNPRINTF
cout << "\n";
cout << "WARNING: VsnprintfTestCase will test the system vsnprintf() function\n";
cout << " instead of the wxWidgets wxVsnprintf_ implementation!" << std::endl;
cout << "\n";
#endif
#if wxUSE_GUI
// create a hidden parent window to be used as parent for the GUI controls
new wxFrame(NULL, wxID_ANY, "Hidden wx test frame");