diff mbox

[i-g-t,1/2] tests/gvt_basic: Test w/o sub-test requires simple_main

Message ID 1467376365-11772-1-git-send-email-marius.c.vlad@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marius Vlad July 1, 2016, 12:32 p.m. UTC
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
CC: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/gvt_basic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chris Wilson July 1, 2016, 12:33 p.m. UTC | #1
On Fri, Jul 01, 2016 at 03:32:44PM +0300, Marius Vlad wrote:
> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
> CC: Chris Wilson <chris@chris-wilson.co.uk>
> ---
>  tests/gvt_basic.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This is a stub that I expect to be filled with subtests. I want to keep
it easy for people to add tests.
-Chris
Marius Vlad July 1, 2016, 1:18 p.m. UTC | #2
Right, but bare in mind that it can't be released as is...

On Fri, Jul 01, 2016 at 01:33:02PM +0100, Chris Wilson wrote:
> On Fri, Jul 01, 2016 at 03:32:44PM +0300, Marius Vlad wrote:
> > Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
> > CC: Chris Wilson <chris@chris-wilson.co.uk>
> > ---
> >  tests/gvt_basic.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> This is a stub that I expect to be filled with subtests. I want to keep
> it easy for people to add tests.
> -Chris
> 
> -- 
> Chris Wilson, Intel Open Source Technology Centre
Chris Wilson July 1, 2016, 1:24 p.m. UTC | #3
On Fri, Jul 01, 2016 at 04:18:46PM +0300, Marius Vlad wrote:
> Right, but bare in mind that it can't be released as is...

Why not? Which bit of infrastructure is broken?

Just add a igt_subtest_f("placeholder") ;
-Chris
diff mbox

Patch

diff --git a/tests/gvt_basic.c b/tests/gvt_basic.c
index 9e17f29..056c472 100644
--- a/tests/gvt_basic.c
+++ b/tests/gvt_basic.c
@@ -26,7 +26,7 @@ 
 
 IGT_TEST_DESCRIPTION("Basic sanity check of i915 Guest Virtualisation");
 
-igt_main
+igt_simple_main
 {
 	int fd = -1;