mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #602 from Dmitry-Me/testWithStopwatchOff
Stopwatch must be stopped before test check
This commit is contained in:
commit
30dec75919
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue