From 721d8747e3a2ae78b4fad33d32e4b4796c90a2af Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 27 Oct 2016 11:32:47 +0100 Subject: igt: Add a test for reordering execbufs Signed-off-by: Chris Wilson --- lib/igt_core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/igt_core.h') diff --git a/lib/igt_core.h b/lib/igt_core.h index 03be757c..dd7fc123 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -231,6 +231,7 @@ void __igt_subtest_group_restore(int); #define igt_main \ static void igt_tokencat(__real_main, __LINE__)(void); \ int main(int argc, char **argv) { \ + sync(); \ igt_subtest_init_parse_opts(&argc, argv, NULL, NULL, NULL, \ NULL, NULL); \ igt_tokencat(__real_main, __LINE__)(); \ @@ -271,6 +272,7 @@ void igt_simple_init_parse_opts(int *argc, char **argv, #define igt_simple_main \ static void igt_tokencat(__real_main, __LINE__)(void); \ int main(int argc, char **argv) { \ + sync(); \ igt_simple_init_parse_opts(&argc, argv, NULL, NULL, NULL, \ NULL, NULL); \ igt_tokencat(__real_main, __LINE__)(); \ -- cgit v1.2.3