[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog testsuite/MovieTester.cpp [release_0_8_2_
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog testsuite/MovieTester.cpp [release_0_8_2_rc1] |
Date: |
Fri, 22 Feb 2008 17:59:25 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Branch: release_0_8_2_rc1
Changes by: Sandro Santilli <strk> 08/02/22 17:59:25
Modified files:
. : ChangeLog
testsuite : MovieTester.cpp
Log message:
don't use log_debug for test results, or they might never come out.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.5711.2.14&r2=1.5711.2.15
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/MovieTester.cpp?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.67&r2=1.67.2.1
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5711.2.14
retrieving revision 1.5711.2.15
diff -u -b -r1.5711.2.14 -r1.5711.2.15
--- ChangeLog 22 Feb 2008 17:11:39 -0000 1.5711.2.14
+++ ChangeLog 22 Feb 2008 17:59:24 -0000 1.5711.2.15
@@ -1,3 +1,8 @@
+2008-02-22 Sandro Santilli <address@hidden>
+
+ * testsuite/MovieTester.cpp: don't use log_debug for test
+ results, or they might never come out.
+
2008-02-22 Markus Gothe <address@hidden>
* gui/gnash.cpp: Changed 2007 -> 2008.
Index: testsuite/MovieTester.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/MovieTester.cpp,v
retrieving revision 1.67
retrieving revision 1.67.2.1
diff -u -b -r1.67 -r1.67.2.1
--- testsuite/MovieTester.cpp 19 Feb 2008 19:20:47 -0000 1.67
+++ testsuite/MovieTester.cpp 22 Feb 2008 17:59:25 -0000 1.67.2.1
@@ -45,6 +45,7 @@
#include <string>
#include <memory> // for auto_ptr
#include <cmath> // for ceil and exp2
+#include <iostream>
#define SHOW_INVALIDATED_BOUNDS_ON_ADVANCE 1
@@ -53,6 +54,9 @@
#endif
+using std::cout;
+using std::endl;
+
namespace gnash {
MovieTester::MovieTester(const std::string& url)
@@ -271,7 +275,7 @@
{
std::stringstream ss;
ss << "exp:" << color.toShortString() << " ";
- log_debug("UNTESTED: NORENDERER: pix:%d,%d %s %s", x, y,
ss.str().c_str(), label.c_str());
+ cout << "UNTESTED: NORENDERER: pix:" << x << "," << y << "
exp:" << color.toShortString() << " " << label << endl;
}
FuzzyPixel exp(color, tolerance);
@@ -296,10 +300,7 @@
if ( ! handler.getAveragePixel(obt_col, x, y, radius) )
{
ss << " is out of rendering buffer";
- log_debug("%sFAILED: %s (%s)", X,
- ss.str().c_str(),
- label.c_str()
- );
+ cout << X << "FAILED: " << ss.str() << " (" << label <<
")" << endl;
continue;
}
@@ -323,17 +324,11 @@
FuzzyPixel obt(obt_col, tol);
if (exp == obt) // equality operator would use tolerance of
most tolerating FuzzyPixel
{
- log_debug("%sPASSED: %s %s", X,
- ss.str().c_str(),
- label.c_str()
- );
+ cout << X << "PASSED: " << ss.str() << " (" << label <<
")" << endl;
}
else
{
- log_debug("%sFAILED: %s %s", X,
- ss.str().c_str(),
- label.c_str()
- );
+ cout << X << "FAILED: " << ss.str() << " (" << label <<
")" << endl;
}
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog testsuite/MovieTester.cpp [release_0_8_2_rc1],
Sandro Santilli <=