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) \
|
#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)
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user