Stopwatch must be stopped before test check

This commit is contained in:
Dmitry-Me 2017-08-10 17:28:10 +03:00
parent 82e20b1831
commit 1ab85878ba
1 changed files with 1 additions and 1 deletions

View File

@ -2152,12 +2152,12 @@ int main( int argc, const char ** argv )
doc.Parse(mem); doc.Parse(mem);
parseDreamXmlFailed = parseDreamXmlFailed || doc.Error(); parseDreamXmlFailed = parseDreamXmlFailed || doc.Error();
} }
XMLTest( "Parse dream.xml", false, parseDreamXmlFailed );
#if defined( _MSC_VER ) #if defined( _MSC_VER )
QueryPerformanceCounter((LARGE_INTEGER*)&end); QueryPerformanceCounter((LARGE_INTEGER*)&end);
#else #else
clock_t cend = clock(); clock_t cend = clock();
#endif #endif
XMLTest( "Parse dream.xml", false, parseDreamXmlFailed );
delete[] mem; delete[] mem;