diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2019-03-20 16:16:20 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2019-06-04 19:09:51 +0100 |
commit | d7787808c8359cd5a13c5f5de9303f8e4d4375ad (patch) | |
tree | f0333fa44e144625b36f53ce3281e38fd72b9e4c /tests | |
parent | bf043b3e56ce57540f6e90399da5b68f85d4d33f (diff) |
virglrenderer: kill off trailing whitespace
sed -i "s/[[:space:]]*$//g" */*.[ch]
Note: there's a handful more in src/gallium, although that's left as-is
to minimise merge conflicts as we have to port things from Mesa.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_virgl_cmd.c | 14 | ||||
-rw-r--r-- | tests/test_virgl_init.c | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/test_virgl_cmd.c b/tests/test_virgl_cmd.c index 4a96dfc..de9a7a7 100644 --- a/tests/test_virgl_cmd.c +++ b/tests/test_virgl_cmd.c @@ -41,7 +41,7 @@ START_TEST(virgl_test_overlap_obj_id) struct virgl_context ctx; int ctx_handle = 1; ret = testvirgl_init_ctx_cmdbuf(&ctx); - ck_assert_int_eq(ret, 0); + ck_assert_int_eq(ret, 0); /* set blend state */ { @@ -78,14 +78,14 @@ START_TEST(virgl_test_clear) struct virgl_box box; int ret; int i; - + ret = testvirgl_init_ctx_cmdbuf(&ctx); - ck_assert_int_eq(ret, 0); + ck_assert_int_eq(ret, 0); /* init and create simple 2D resource */ ret = testvirgl_create_backed_simple_2d_res(&res, 1, 50, 50); ck_assert_int_eq(ret, 0); - + /* attach resource to context */ virgl_renderer_ctx_attach_resource(ctx.ctx_id, res.handle); @@ -137,7 +137,7 @@ START_TEST(virgl_test_clear) testvirgl_fini_ctx_cmdbuf(&ctx); } -END_TEST +END_TEST START_TEST(virgl_test_blit_simple) { @@ -741,8 +741,8 @@ START_TEST(virgl_test_render_geom_simple) } END_TEST -/* create a resource - clear it to a color, render something - * and test transform feedback +/* create a resource - clear it to a color, render something + * and test transform feedback */ START_TEST(virgl_test_render_xfb) { diff --git a/tests/test_virgl_init.c b/tests/test_virgl_init.c index 55763a3..56da937 100644 --- a/tests/test_virgl_init.c +++ b/tests/test_virgl_init.c @@ -153,7 +153,7 @@ START_TEST(virgl_init_egl_create_ctx_create_bind_res_illegal_ctx) { int ret; struct virgl_renderer_resource_create_args res; - + testvirgl_init_simple_1d_resource(&res, 1); ret = virgl_renderer_resource_create(&res, NULL, 0); |