From 2c8e676e2bc490e7d7e9e2649fcbc2d9afefd5e0 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 23 Jan 2020 17:29:51 +0530 Subject: tests: Fix some test failures on Ubuntun 16.04 CI * xenial doesn't ship many dependencies, so make them all optional since we don't guarantee that everything will work * cmake/{5,6}: needs stdlib.h for EXIT_SUCCESS on GCC 5 * common/222: needs C++11, and GCC 5 doesn't understand `auto` correctly unless we explicitly enable it. * frameworks/1 boost: xenial doesn't ship boost_python3, so make it properly optional * frameworks/6 gettext: gettext can be installed without xgettext, which doesn't cause the project to fail, but the installed files list is different which causes the test to fail. * frameworks/7 gnome: gobject-introspection can't be enabled because the sanitizer unit test detects leaks in glib and fails --- test cases/common/222 source set realistic example/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test cases/common') diff --git a/test cases/common/222 source set realistic example/meson.build b/test cases/common/222 source set realistic example/meson.build index ea91e2991..5b0e4955a 100644 --- a/test cases/common/222 source set realistic example/meson.build +++ b/test cases/common/222 source set realistic example/meson.build @@ -1,7 +1,7 @@ # a sort-of realistic example that combines the sourceset and kconfig # modules, inspired by QEMU's build system -project('sourceset-example', 'cpp') +project('sourceset-example', 'cpp', default_options: ['cpp_std=c++11']) cppid = meson.get_compiler('cpp').get_id() if cppid == 'pgi' -- cgit v1.2.3