Merge pull request #602 from Dmitry-Me/testWithStopwatchOff

Stopwatch must be stopped before test check
This commit is contained in:
Lee Thomason 2017-08-10 15:07:11 -07:00 committed by GitHub
commit 30dec75919
1 changed files with 1 additions and 1 deletions

View File

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