Deactivated part of the traces outputted by the testsuite to make Travis
happy.
This commit is contained in:
@@ -32,7 +32,7 @@ std::string ToHex(T* pointer)
|
||||
#define DebugTrace(inString) \
|
||||
{ \
|
||||
std::ostringstream stream; \
|
||||
stream << inString << std::endl; \
|
||||
stream << inString; \
|
||||
qDebug("%s", stream.str().c_str()); \
|
||||
}
|
||||
#elif defined (ANDROID)
|
||||
|
||||
@@ -383,8 +383,8 @@ void GameObserver::resetStartupGame()
|
||||
startupGameSerialized = "";
|
||||
stream << *this;
|
||||
startupGameSerialized = stream.str();
|
||||
DebugTrace("startGame\n");
|
||||
DebugTrace(startupGameSerialized);
|
||||
// DebugTrace("startGame\n");
|
||||
// DebugTrace(startupGameSerialized);
|
||||
}
|
||||
|
||||
void GameObserver::startGame(GameType gtype, Rules * rules)
|
||||
|
||||
@@ -357,7 +357,6 @@ void MTGAllCards::loadFolder(const string& infolder, const string& filename )
|
||||
|
||||
for (size_t i = 0; i < files.size(); ++i)
|
||||
{
|
||||
DebugTrace("MTGAllCards::loadFolder: checking folder" << folder << " file " << files[i]);
|
||||
string afile = folder;
|
||||
afile.append(files[i]);
|
||||
|
||||
@@ -397,7 +396,6 @@ int MTGAllCards::load(const char * config_file, const char * set_name, int)
|
||||
return total_cards;
|
||||
}
|
||||
|
||||
DebugTrace("MTGAllCards::load: loading: " << config_file);
|
||||
string s;
|
||||
|
||||
while (getline(file,s))
|
||||
|
||||
@@ -114,7 +114,7 @@ int TestSuiteAI::Act(float)
|
||||
timer = 0;
|
||||
|
||||
string action = suite->getNextAction();
|
||||
observer->mLayers->stackLayer()->Dump();
|
||||
// observer->mLayers->stackLayer()->Dump();
|
||||
DebugTrace("TESTSUITE command: " << action);
|
||||
|
||||
if (observer->mLayers->stackLayer()->askIfWishesToInterrupt == this)
|
||||
|
||||
Reference in New Issue
Block a user