fix unittests on linux / enable on travis-ci

This commit is contained in:
abma
2014-08-18 00:34:45 +02:00
parent b2643a3835
commit d795491c48
8 changed files with 27 additions and 26 deletions
+3 -4
View File
@@ -26,9 +26,8 @@ int main (int argc, char* argv[])
// .. and C. They should smoothly work together
aiEnableVerboseLogging(AI_TRUE);
aiAttachLogStream(&aiGetPredefinedLogStream(
aiDefaultLogStream_FILE,
"AssimpLog_C.txt"));
aiLogStream logstream= aiGetPredefinedLogStream(aiDefaultLogStream_FILE, "AssimpLog_C.txt");
aiAttachLogStream(&logstream);
// ............................................................................
@@ -66,4 +65,4 @@ int main (int argc, char* argv[])
// Rueckmeldung, ob Tests erfolgreich waren
return collectedresults.wasSuccessful () ? 0 : 1;
}
}