diff options
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r-- | lib/igt_core.h | 2 |
1 files changed, 2 insertions, 0 deletions
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__)(); \ |