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, master has been updated via 2af0fde79674ad30155948d78316c5dfa3df83c4 (commit) via 28e75fadc2c5e65e41fdbba3c868739a9c6b74cc (commit) via e13ec4c6eb8e16ba3d44dfe6f0ff717c73a90552 (commit) from 17fe2ed28b93515ca3cf486e1af6aff088a7d8bd (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/2af0fde79674ad30155948d78316c5dfa3df8...
commit 2af0fde79674ad30155948d78316c5dfa3df83c4 Author: Cyril Hrubis metan@ucw.cz Date: Thu Sep 12 22:48:17 2013 +0200
tests: core: GetPutPixel: Fix warnings.
Fix "This decimal constant is unsigned only in ISO C90" warnings.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/tests/core/GetPutPixel.gen.c.t b/tests/core/GetPutPixel.gen.c.t index a843509..1e8bccd 100644 --- a/tests/core/GetPutPixel.gen.c.t +++ b/tests/core/GetPutPixel.gen.c.t @@ -55,7 +55,7 @@ static int check_filled(GP_Context *c) tst_msg("Pixels different %i %i", x, y); return 1; } - + return 0; }
@@ -85,16 +85,16 @@ static int GetPutPixel_{{ pt.name }}(void) return TST_UNTESTED; }
- if (try_pattern(c, 0x55555555 & {{ 2 ** pt.pixelsize.size - 1}})) + if (try_pattern(c, 0x55555555 & {{ 2 ** pt.pixelsize.size - 1}}U)) err++; - - if (try_pattern(c, 0xaaaaaaaa & {{ 2 ** pt.pixelsize.size - 1}})) + + if (try_pattern(c, 0xaaaaaaaa & {{ 2 ** pt.pixelsize.size - 1}}U)) err++; - - if (try_pattern(c, 0x0f0f0f0f & {{ 2 ** pt.pixelsize.size - 1}})) + + if (try_pattern(c, 0x0f0f0f0f & {{ 2 ** pt.pixelsize.size - 1}}U)) err++; - - if (try_pattern(c, 0xf0f0f0f0 & {{ 2 ** pt.pixelsize.size - 1}})) + + if (try_pattern(c, 0xf0f0f0f0 & {{ 2 ** pt.pixelsize.size - 1}}U)) err++;
GP_ContextFree(c); @@ -112,7 +112,7 @@ static int GetPutPixel_{{ pt.name }}(void) static int GetPutPixel_Clipping_{{ pt.name }}(void) { GP_Context *c; - + c = GP_ContextAlloc(100, 100, GP_PIXEL_{{ pt.name }});
if (c == NULL) { @@ -129,7 +129,7 @@ static int GetPutPixel_Clipping_{{ pt.name }}(void) for (y = -1000; y < 200; y++) { if (x > 0 && x < 100 && y > 0 && y < 100) continue; - + /* Must be no-op */ GP_PutPixel(c, x, y, 0);
@@ -141,9 +141,9 @@ static int GetPutPixel_Clipping_{{ pt.name }}(void) } } } - + GP_ContextFree(c); - + if (err) return TST_FAILED;
@@ -157,18 +157,18 @@ const struct tst_suite tst_suite = { .tests = { %% for pt in pixeltypes %% if not pt.is_unknown() - {.name = "GetPutPixel {{ pt.name }}", + {.name = "GetPutPixel {{ pt.name }}", .tst_fn = GetPutPixel_{{ pt.name }}}, %% endif %% endfor
%% for pt in pixeltypes %% if not pt.is_unknown() - {.name = "GetPutPixel Clipping {{ pt.name }}", + {.name = "GetPutPixel Clipping {{ pt.name }}", .tst_fn = GetPutPixel_Clipping_{{ pt.name }}}, %% endif %% endfor - + {.name = NULL} } };
http://repo.or.cz/w/gfxprim.git/commit/28e75fadc2c5e65e41fdbba3c868739a9c6b7...
commit 28e75fadc2c5e65e41fdbba3c868739a9c6b74cc Author: Cyril Hrubis metan@ucw.cz Date: Wed Sep 11 19:28:51 2013 +0200
tests: framework: Use $(CC) instead of gcc
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/tests/framework/Makefile b/tests/framework/Makefile index bc04fc1..f7ceb2e 100644 --- a/tests/framework/Makefile +++ b/tests/framework/Makefile @@ -15,10 +15,10 @@ APPS=test ALL+=libtst_preload.so libtst.a
libtst_preload.so: tst_preload.o tst_alloc_barriers.o tst_preload_FILE.o - gcc -Wl,-soname -Wl,tst_preload.so --shared -ldl -fPIC $^ -o $@ + $(CC) -Wl,-soname -Wl,tst_preload.so --shared -ldl -fPIC $^ -o $@
libtst.a: tst_suite.o tst_job.o tst_msg.o tst_log.o tst_main.o tst_timespec.o - ar rcs $@ $^ + $(AR) rcs $@ $^
CLEAN+=libtst_preload.so libtst.a log.json
http://repo.or.cz/w/gfxprim.git/commit/e13ec4c6eb8e16ba3d44dfe6f0ff717c73a90...
commit e13ec4c6eb8e16ba3d44dfe6f0ff717c73a90552 Author: Cyril Hrubis metan@ucw.cz Date: Wed Sep 11 19:19:57 2013 +0200
build: Makefile: include config.mk
So that CC and friends are set correctly.
Signed-off-by: Cyril Hrubis metan@ucw.cz
diff --git a/build/Makefile b/build/Makefile index d21da7a..075c19d 100644 --- a/build/Makefile +++ b/build/Makefile @@ -2,7 +2,9 @@ LIB_OBJECTS=$(shell ./get_objs.sh)
.SUFFIXES:
-include ../libver.mk +TOPDIR=../ +include $(TOPDIR)/config.mk +include $(TOPDIR)/libver.mk
LIB_NAME=libGP
-----------------------------------------------------------------------
Summary of changes: build/Makefile | 4 +++- tests/core/GetPutPixel.gen.c.t | 30 +++++++++++++++--------------- tests/framework/Makefile | 4 ++-- 3 files changed, 20 insertions(+), 18 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.