This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, generate has been updated via 9e8793ceec06e0c006747c33770bc6e4b19324a6 (commit) from 7fc258147bf9b322a730cd1bc426bee0b668f8f5 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/9e8793ceec06e0c006747c33770bc6e4b1932...
commit 9e8793ceec06e0c006747c33770bc6e4b19324a6 Author: Cyril Hrubis metan@ucw.cz Date: Sat Aug 20 23:09:53 2011 +0200
Unbreak the testsuite.
diff --git a/pylib/templates/collected_tests.c.t b/pylib/templates/collected_tests.c.t index cd24232..0241a28 100644 --- a/pylib/templates/collected_tests.c.t +++ b/pylib/templates/collected_tests.c.t @@ -21,7 +21,7 @@ Code creating the tests and suites for tests collected from .test.c files.
void GP_TEST_{{ t['name'] }}(int);
-## TODO: Handle special test requirements (timing, fixture, ...) +// TODO: Handle special test requirements (timing, fixture, ...) TCase *GP_TC_{{ suite }}_{{ t['name'] }}() { TCase *tc = tcase_create("{{ t['name'] }}"); diff --git a/tests/core/GP_Convert.test.c b/tests/core/GP_Convert.test.c index 19e8f9d..28bd28a 100644 --- a/tests/core/GP_Convert.test.c +++ b/tests/core/GP_Convert.test.c @@ -19,9 +19,9 @@ GP_TEST(BasicPixelConversions) fail_unless(p1 == 0x123456); GP_CHECK_EqualColors(p1, GP_PIXEL_RGB888, p1, GP_PIXEL_RGB888); - p1 = GP_RGB888ToPixel(GP_RGBToPixel(0x12, 0x34, 0x56, GP_PIXEL_RGB888), GP_PIXEL_V4); - p2 = GP_RGBAToPixel(0x12, 0x34, 0x56, 0x78, GP_PIXEL_V2); - GP_CHECK_EqualColors(p1, GP_PIXEL_V4, p2, GP_PIXEL_V2); + p1 = GP_RGB888ToPixel(GP_RGBToPixel(0x12, 0x34, 0x56, GP_PIXEL_RGB888), GP_PIXEL_G4); + p2 = GP_RGBAToPixel(0x12, 0x34, 0x56, 0x78, GP_PIXEL_G2); + GP_CHECK_EqualColors(p1, GP_PIXEL_G4, p2, GP_PIXEL_G2); } GP_ENDTEST
-----------------------------------------------------------------------
Summary of changes: pylib/templates/collected_tests.c.t | 2 +- tests/core/GP_Convert.test.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.