[igt-dev] [PATCH i-g-t 03/36] i915/gem_exec_blt: Nuke custom main function
Petri Latvala
petri.latvala at intel.com
Thu May 23 12:26:54 UTC 2019
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
tests/i915/gem_exec_blt.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tests/i915/gem_exec_blt.c b/tests/i915/gem_exec_blt.c
index 00926e55..94de1a82 100644
--- a/tests/i915/gem_exec_blt.c
+++ b/tests/i915/gem_exec_blt.c
@@ -293,7 +293,7 @@ static void set_max_freq(int sysfs)
}
-int main(int argc, char **argv)
+igt_main
{
const struct {
const char *suffix;
@@ -307,8 +307,6 @@ int main(int argc, char **argv)
int min = -1, max = -1;
int fd, sysfs;
- igt_subtest_init(argc, argv);
-
igt_skip_on_simulation();
igt_fixture {
@@ -344,6 +342,4 @@ int main(int argc, char **argv)
close(sysfs);
close(fd);
}
-
- igt_exit();
}
--
2.19.1
More information about the igt-dev
mailing list