From: Daniel Vetter <daniel@ffwll.ch>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
Ander Conselvan de Oliveira
<ander.conselvan.de.oliveira@intel.com>
Subject: Re: [PATCH] tests/kms_flip_tiling: Fixes
Date: Fri, 11 Apr 2014 16:28:14 +0200 [thread overview]
Message-ID: <20140411142814.GL9262@phenom.ffwll.local> (raw)
In-Reply-To: <1397225868-11238-1-git-send-email-daniel.vetter@ffwll.ch>
On Fri, Apr 11, 2014 at 04:17:48PM +0200, Daniel Vetter wrote:
> - Wrap up testcase correctly into the magic code block.
> - Put local variables out of the longjmp danger zone.
>
> Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Ander, quick one for process: Please submit igt patches to the mailing
list so that they don't get lost in bugzilla.
And thanks a lot for the testcase.
-Daniel
> ---
> tests/kms_flip_tiling.c | 11 +++++------
> 1 file changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/tests/kms_flip_tiling.c b/tests/kms_flip_tiling.c
> index e70609d52e78..ca20ad96bc35 100644
> --- a/tests/kms_flip_tiling.c
> +++ b/tests/kms_flip_tiling.c
> @@ -119,11 +119,10 @@ test_flip_changes_tiling(data_t *data, igt_output_t *output)
> }
>
> static data_t data;
> +igt_output_t *output;
>
> igt_main
> {
> - igt_output_t *output;
> -
> igt_skip_on_simulation();
>
> igt_fixture {
> @@ -135,10 +134,10 @@ igt_main
> igt_display_init(&data.display, data.drm_fd);
> }
>
> - igt_subtest_f("flip-changes-tiling");
> -
> - for_each_connected_output(&data.display, output)
> - test_flip_changes_tiling(&data, output);
> + igt_subtest_f("flip-changes-tiling") {
> + for_each_connected_output(&data.display, output)
> + test_flip_changes_tiling(&data, output);
> + }
>
> igt_fixture {
> igt_display_fini(&data.display);
> --
> 1.8.5.2
>
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
prev parent reply other threads:[~2014-04-11 14:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-11 14:17 [PATCH] tests/kms_flip_tiling: Fixes Daniel Vetter
2014-04-11 14:28 ` Daniel Vetter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140411142814.GL9262@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=ander.conselvan.de.oliveira@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox