Deactivated part of the traces outputted by the testsuite to make Travis

happy.
This commit is contained in:
xawotihs
2013-10-30 22:58:04 +01:00
parent 784d127a6e
commit 017f6dd1ed
4 changed files with 4 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ std::string ToHex(T* pointer)
#define DebugTrace(inString) \ #define DebugTrace(inString) \
{ \ { \
std::ostringstream stream; \ std::ostringstream stream; \
stream << inString << std::endl; \ stream << inString; \
qDebug("%s", stream.str().c_str()); \ qDebug("%s", stream.str().c_str()); \
} }
#elif defined (ANDROID) #elif defined (ANDROID)

View File

@@ -383,8 +383,8 @@ void GameObserver::resetStartupGame()
startupGameSerialized = ""; startupGameSerialized = "";
stream << *this; stream << *this;
startupGameSerialized = stream.str(); startupGameSerialized = stream.str();
DebugTrace("startGame\n"); // DebugTrace("startGame\n");
DebugTrace(startupGameSerialized); // DebugTrace(startupGameSerialized);
} }
void GameObserver::startGame(GameType gtype, Rules * rules) void GameObserver::startGame(GameType gtype, Rules * rules)

View File

@@ -357,7 +357,6 @@ void MTGAllCards::loadFolder(const string& infolder, const string& filename )
for (size_t i = 0; i < files.size(); ++i) for (size_t i = 0; i < files.size(); ++i)
{ {
DebugTrace("MTGAllCards::loadFolder: checking folder" << folder << " file " << files[i]);
string afile = folder; string afile = folder;
afile.append(files[i]); afile.append(files[i]);
@@ -397,7 +396,6 @@ int MTGAllCards::load(const char * config_file, const char * set_name, int)
return total_cards; return total_cards;
} }
DebugTrace("MTGAllCards::load: loading: " << config_file);
string s; string s;
while (getline(file,s)) while (getline(file,s))

View File

@@ -114,7 +114,7 @@ int TestSuiteAI::Act(float)
timer = 0; timer = 0;
string action = suite->getNextAction(); string action = suite->getNextAction();
observer->mLayers->stackLayer()->Dump(); // observer->mLayers->stackLayer()->Dump();
DebugTrace("TESTSUITE command: " << action); DebugTrace("TESTSUITE command: " << action);
if (observer->mLayers->stackLayer()->askIfWishesToInterrupt == this) if (observer->mLayers->stackLayer()->askIfWishesToInterrupt == this)