mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
UnitTest
Change unit tests to run without script runTests now just holds a purely script test example Test Explorer in VS now works with tests NB do not use test explorer on purely script based tests.
This commit is contained in:
parent
3d46cf51d0
commit
5427e941ce
6 changed files with 33 additions and 93 deletions
|
|
@ -1017,8 +1017,10 @@ bool Platform::isFile(const char *pFilePath)
|
|||
// Get file info
|
||||
struct stat fStat;
|
||||
if (stat(pFilePath, &fStat) == 0)
|
||||
if ((fStat.st_mode & S_IFMT) == S_IFREG)
|
||||
return true;
|
||||
return true;
|
||||
|
||||
if ((fStat.st_mode & S_IFMT) == S_IFREG)
|
||||
return true;
|
||||
|
||||
// Since stat failed see if it exists in a zip file loaded
|
||||
if (Torque::FS::IsFile(pFilePath))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue