Merge remote-tracking branch 'wp/master'
This commit is contained in:
@@ -433,6 +433,15 @@ void TestSuiteGame::assertGame()
|
||||
Log("<span class=\"success\">==Test Succesful !==</span>");
|
||||
else
|
||||
Log("<span class=\"error\">==Test Failed !==</span>");
|
||||
#ifdef CAPTURE_STDERR
|
||||
if (error)
|
||||
{
|
||||
OutputCapturer::debugAndClear();
|
||||
} else
|
||||
{
|
||||
OutputCapturer::clear();
|
||||
}
|
||||
#endif
|
||||
mMutex.unlock();
|
||||
}
|
||||
|
||||
@@ -585,6 +594,9 @@ void TestSuite::ThreadProc(void* inParam)
|
||||
{
|
||||
LOG("Entering TestSuite::ThreadProc");
|
||||
TestSuite* instance = reinterpret_cast<TestSuite*>(inParam);
|
||||
#ifdef CAPTURE_STDERR
|
||||
OutputCapturer::debugAndClear();
|
||||
#endif
|
||||
if (instance)
|
||||
{
|
||||
string filename;
|
||||
|
||||
@@ -327,6 +327,7 @@ SOURCES += \
|
||||
../../JGE/src/pc/JSocket.cpp\
|
||||
../../JGE/src/pc/JSfx.cpp\
|
||||
../../JGE/src/JSprite.cpp\
|
||||
../../JGE/src/OutputCapturer.cpp\
|
||||
../../JGE/src/Vector2D.cpp\
|
||||
../../JGE/src/tinyxml/tinystr.cpp\
|
||||
../../JGE/src/tinyxml/tinyxml.cpp\
|
||||
@@ -393,6 +394,7 @@ HEADERS += \
|
||||
../../JGE/include/JSpline.h\
|
||||
../../JGE/include/JSprite.h\
|
||||
../../JGE/include/JTypes.h\
|
||||
../../JGE/include/OutputCapturer.h\
|
||||
../../JGE/include/Vector2D.h\
|
||||
../../JGE/include/Vector3D.h\
|
||||
../../JGE/include/vram.h\
|
||||
|
||||
Reference in New Issue
Block a user