mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
Removed dead unit test code from main loop.
This commit is contained in:
parent
ff67ac3e80
commit
b01e5668b4
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue