From 3c6261993073ea83f5f985790964e503db26e8ea Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 29 Dec 2016 08:09:44 +0530 Subject: [PATCH] tests: autoptr test can be run on gcc, clang, intel The only place where it won't work, is MSVC and maybe Sun Studio, but we'd need someone to test Sun Studio first. --- gio/tests/meson.build | 2 +- glib/tests/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/tests/meson.build b/gio/tests/meson.build index d82aededa..a4a6f861e 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -66,7 +66,7 @@ if host_machine.system() != 'windows' ] endif -if cc.get_id() == 'gcc' or cc.get_id() == 'clang' +if cc.get_id() != 'msvc' gio_tests += [ 'autoptr' ] endif diff --git a/glib/tests/meson.build b/glib/tests/meson.build index 983485b0d..5978a054b 100644 --- a/glib/tests/meson.build +++ b/glib/tests/meson.build @@ -79,7 +79,7 @@ if host_machine.system() != 'windows' glib_tests += [ 'unix', 'include' ] endif -if cc.get_id() == 'gcc' +if cc.get_id() != 'msvc' glib_tests += [ 'autoptr' ] endif