Removed dead unit test code from main loop.

This commit is contained in:
Daniel Buckmaster 2014-09-28 16:15:52 +10:00
parent ff67ac3e80
commit b01e5668b4

View file

@ -311,18 +311,10 @@ S32 main(S32 argc, const char **argv)
//-------------------------------------- //--------------------------------------
#include "unit/test.h"
#include "app/mainLoop.h" #include "app/mainLoop.h"
S32 PASCAL WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR lpszCmdLine, S32) S32 PASCAL WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR lpszCmdLine, S32)
{ {
#if 0
// Run a unit test.
StandardMainLoop::initCore();
UnitTesting::TestRun tr;
tr.test("Platform", true);
#else
Vector<char *> argv( __FILE__, __LINE__ ); Vector<char *> argv( __FILE__, __LINE__ );
char moduleName[256]; char moduleName[256];
@ -366,7 +358,6 @@ S32 PASCAL WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR lpszCmdLine, S32)
dFree(argv[j]); dFree(argv[j]);
return retVal; return retVal;
#endif
} }
#else //TORQUE_SHARED #else //TORQUE_SHARED