From: Chris Wilson Date: Tue, 19 Nov 2013 09:47:15 +0000 (+0000) Subject: test: Fix compilation of render-trapezoid-image X-Git-Tag: 2.99.907~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb3ea102ca6b8aa843a10607fa140f5694cc4898;p=platform%2Fupstream%2Fxf86-video-intel.git test: Fix compilation of render-trapezoid-image Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71768 Signed-off-by: Chris Wilson --- diff --git a/test/basic-copyarea.c b/test/basic-copyarea.c index 8b64199..d4ae0d1 100644 --- a/test/basic-copyarea.c +++ b/test/basic-copyarea.c @@ -282,8 +282,7 @@ int main(int argc, char **argv) test_init(&test, argc, argv); for (i = 0; i <= DEFAULT_ITERATIONS; i++) { - int reps = REPS(i); - int sets = SETS(i); + int reps = REPS(i), sets = SETS(i); enum target t; for (t = TARGET_FIRST; t <= TARGET_LAST; t++) { diff --git a/test/basic-fillrect.c b/test/basic-fillrect.c index 186604c..a2aeec8 100644 --- a/test/basic-fillrect.c +++ b/test/basic-fillrect.c @@ -246,8 +246,7 @@ int main(int argc, char **argv) test_init(&test, argc, argv); for (i = 0; i <= DEFAULT_ITERATIONS; i++) { - int reps = REPS(i); - int sets = SETS(i); + int reps = REPS(i), sets = SETS(i); enum target t; for (t = TARGET_FIRST; t <= TARGET_LAST; t++) { diff --git a/test/basic-putimage.c b/test/basic-putimage.c index 10053bc..d570417 100644 --- a/test/basic-putimage.c +++ b/test/basic-putimage.c @@ -262,8 +262,7 @@ int main(int argc, char **argv) test_init(&test, argc, argv); for (i = 0; i <= DEFAULT_ITERATIONS; i++) { - int reps = REPS(i); - int sets = SETS(i); + int reps = REPS(i), sets = SETS(i); enum target t; for (t = TARGET_FIRST; t <= TARGET_LAST; t++) { diff --git a/test/render-trapezoid-image.c b/test/render-trapezoid-image.c index c25661d..ecca709 100644 --- a/test/render-trapezoid-image.c +++ b/test/render-trapezoid-image.c @@ -585,7 +585,7 @@ int main(int argc, char **argv) test_init(&test, argc, argv); for (i = 0; i <= DEFAULT_ITERATIONS; i++) { - int reps = REPS(i), SETS(i); + int reps = REPS(i), sets = SETS(i); for (target = TARGET_FIRST; target <= TARGET_LAST; target++) { pixel_tests(&test, reps, sets, target, 0);