commit | 95095f17d02f8c6d3622f5573b32fed3f4f68f61 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Apr 14 14:42:35 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Apr 16 12:16:17 2021 -0500 |
tree | 60f2fffad0def49e6e8c27abb6b9b0d9c2ec101e | |
parent | 17c69eda1542e82c537268ad2a4ce84caf569938 [diff] |
unit-test: meson: check meson version for C++20 If a package requests C++20 support, only Meson >=0.57 recognizes the 'cpp_std=c++20' option but doesn't warn about this. Add code in our test path to ensure that if a package has requested C++20 it also requests Meson >=0.57. This helps prevent a cryptic message if someone compiles one of our packages on a distro with an older version of Meson. Tested: Ran script against sdbusplus with various settings of meson_version and cpp_std. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I130766a822710bf634eca3677e22c9d484defa00
Build script for CI jobs in Jenkins.