[glib/wip/meson: 26/53] tests: autoptr test can be run on gcc, clang, intel
- From: Tim-Philipp Müller <tpm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/meson: 26/53] tests: autoptr test can be run on gcc, clang, intel
- Date: Sat, 13 May 2017 14:09:37 +0000 (UTC)
commit 4d3d6128e114960f8cebd67ead5831c348d46082
Author: Nirbheek Chauhan <nirbheek centricular com>
Date: Thu Dec 29 08:09:44 2016 +0530
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 d82aede..a4a6f86 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 983485b..5978a05 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]