Fix tests and Atlas with new profiler

This was SVN commit r10471.
This commit is contained in:
Ykkrosh
2011-11-05 23:09:31 +00:00
parent b13f1cade5
commit 8f3255f9c8
4 changed files with 14 additions and 2 deletions
+9
View File
@@ -35,6 +35,7 @@
#include "lib/timer.h"
#include "lib/sysdep/sysdep.h"
#include "ps/Profiler2.h"
#include "scriptinterface/ScriptInterface.h"
class LeakReporter : public CxxTest::GlobalFixture
@@ -77,9 +78,17 @@ class MiscSetup : public CxxTest::GlobalFixture
setlocale(LC_CTYPE, "UTF-8");
#endif
g_Profiler2.Initialise();
return true;
}
virtual bool tearDownWorld()
{
g_Profiler2.Shutdown();
return true;
}
};
static LeakReporter leakReporter;