- tests with subtests need to be in the _M target for correct
  enumeration.

- No need for igt_exit when using the igt_(simple_)main wrappers.

Signed-off-by: Daniel Vetter <[email protected]>
---
 tests/Makefile.sources   | 2 +-
 tests/gem_fence_upload.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 520566b3170e..b91b2b49cfa2 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -36,6 +36,7 @@ TESTS_progs_M = \
        gem_exec_parse \
        gem_fenced_exec_thrash \
        gem_fence_thrash \
+       gem_fence_upload \
        gem_flink \
        gem_flink_race \
        gem_linear_blits \
@@ -96,7 +97,6 @@ TESTS_progs = \
        gem_exec_blt \
        gem_exec_lut_handle \
        gem_fd_exhaustion \
-       gem_fence_upload \
        gem_gtt_cpu_tlb \
        gem_gtt_hog \
        gem_gtt_speed \
diff --git a/tests/gem_fence_upload.c b/tests/gem_fence_upload.c
index 9d8617eae18b..d712df751b0d 100644
--- a/tests/gem_fence_upload.c
+++ b/tests/gem_fence_upload.c
@@ -116,6 +116,4 @@ igt_main
 
        igt_subtest("performance")
                performance();
-
-       igt_exit();
 }
-- 
2.0.0

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to