diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2020-04-22 14:56:36 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2020-04-22 14:56:36 +0800 |
commit | 90a18c07cceeb25da6138b9a43ac40c1f5844bc1 (patch) | |
tree | 973ec909d061dd7806c884aa5c542e4b555e5dd5 /tests/meson.build | |
parent | def974ec6e6dcf635774a7921b84d83c37ef6f14 (diff) | |
download | grilo-master.msvc.tar.gz |
tests: Don't build autoptr test on Visual Studiomaster.msvc
g_autoptr() is not supported on Visual Studio, since it is really a GCCism
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build index e6910d1..dd0604a 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -5,12 +5,15 @@ # Copyright (C) 2018 Grilo Project tests = [ - 'autoptr', 'lib-net', 'media', 'registry', ] +if cc.get_id() != 'msvc' + tests += 'autoptr' +endif + foreach t: tests source = t + '.c' exe = executable(t, |