[igt-dev] [PATCH i-g-t 07/36] i915/gem_ppgtt: Nuke custom main function
Petri Latvala
petri.latvala at intel.com
Thu May 23 12:26:58 UTC 2019
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
tests/i915/gem_ppgtt.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tests/i915/gem_ppgtt.c b/tests/i915/gem_ppgtt.c
index ae9869c2..b905ea55 100644
--- a/tests/i915/gem_ppgtt.c
+++ b/tests/i915/gem_ppgtt.c
@@ -330,10 +330,8 @@ static void flink_and_exit(void)
}
#define N_CHILD 8
-int main(int argc, char **argv)
+igt_main
{
- igt_subtest_init(argc, argv);
-
igt_fixture {
int fd = drm_open_driver(DRIVER_INTEL);
igt_require_gem(fd);
@@ -369,6 +367,4 @@ int main(int argc, char **argv)
igt_subtest("flink-and-exit-vma-leak")
flink_and_exit();
-
- igt_exit();
}
--
2.19.1
More information about the igt-dev
mailing list