diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-01-23 17:29:51 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-01-24 02:53:34 +0530 |
commit | 2c8e676e2bc490e7d7e9e2649fcbc2d9afefd5e0 (patch) | |
tree | 1527db3ea2bf2b13599d1c6234c5ed057febd0c4 /test cases/cmake | |
parent | 4d93a1142749e86bc09764cef7f591776d3b523e (diff) | |
download | meson-2c8e676e2bc490e7d7e9e2649fcbc2d9afefd5e0.zip meson-2c8e676e2bc490e7d7e9e2649fcbc2d9afefd5e0.tar.gz meson-2c8e676e2bc490e7d7e9e2649fcbc2d9afefd5e0.tar.bz2 |
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
Diffstat (limited to 'test cases/cmake')
-rw-r--r-- | test cases/cmake/5 object library/main.cpp | 1 | ||||
-rw-r--r-- | test cases/cmake/6 object library no dep/main.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test cases/cmake/5 object library/main.cpp b/test cases/cmake/5 object library/main.cpp index cdf54f1..9933ab4 100644 --- a/test cases/cmake/5 object library/main.cpp +++ b/test cases/cmake/5 object library/main.cpp @@ -1,3 +1,4 @@ +#include <stdlib.h> #include <iostream> #include "libA.hpp" #include "libB.hpp" diff --git a/test cases/cmake/6 object library no dep/main.cpp b/test cases/cmake/6 object library no dep/main.cpp index cdf54f1..9933ab4 100644 --- a/test cases/cmake/6 object library no dep/main.cpp +++ b/test cases/cmake/6 object library no dep/main.cpp @@ -1,3 +1,4 @@ +#include <stdlib.h> #include <iostream> #include "libA.hpp" #include "libB.hpp" |