mirror of https://github.com/AxioDL/tinyxml2.git
Stopwatch must be stopped before test check
This commit is contained in:
parent
82e20b1831
commit
1ab85878ba
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue