diff mbox

[igt,1/4] tests/template: add IGT_TEST_DESCRIPTION

Message ID 1433428266-1867-1-git-send-email-przanoni@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Paulo Zanoni June 4, 2015, 2:31 p.m. UTC
From: Paulo Zanoni <paulo.r.zanoni@intel.com>

So people that write tests based on the template don't forget to use
the macro.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
---
 tests/template.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Daniel Vetter June 15, 2015, 12:11 p.m. UTC | #1
On Thu, Jun 04, 2015 at 11:31:03AM -0300, Paulo Zanoni wrote:
> From: Paulo Zanoni <paulo.r.zanoni@intel.com>
> 
> So people that write tests based on the template don't forget to use
> the macro.
> 
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>

With the nit to not try to enable fbc on pre-gen6 address the series is

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
>  tests/template.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/template.c b/tests/template.c
> index 24fd850..4b5794b 100644
> --- a/tests/template.c
> +++ b/tests/template.c
> @@ -26,6 +26,8 @@
>  
>  #include "drmtest.h"
>  
> +IGT_TEST_DESCRIPTION("Template test.");
> +
>  /*
>   * Note that test function (and code called by them) should generally not return
>   * a variable indicating success/failure. Instead use the igt_require/igt_assert
> -- 
> 2.1.4
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
diff mbox

Patch

diff --git a/tests/template.c b/tests/template.c
index 24fd850..4b5794b 100644
--- a/tests/template.c
+++ b/tests/template.c
@@ -26,6 +26,8 @@ 
 
 #include "drmtest.h"
 
+IGT_TEST_DESCRIPTION("Template test.");
+
 /*
  * Note that test function (and code called by them) should generally not return
  * a variable indicating success/failure. Instead use the igt_require/igt_assert