commit | e95626d7b6a56ae52ed4cb5cff01048f5e426e57 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue Apr 13 11:13:53 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Apr 13 11:41:07 2021 -0500 |
tree | a2cdaf90aa580eb99c06203444217cb243179446 | |
parent | 124607f22291cc2665bd441883492882747249e5 [diff] |
unit-test: handle meson 0.57 optinterpreter Starting with meson 0.57, the option intepreter code no longer holds the options as a simple string -> option map, but instead has a new type called an "OptionKey" which acts as the key and has no simple conversion from string. See this commit in meson: $ git tag --contains=23d3b98fc1 0.57.0 ... Update the unit-test script, which utilizes the Meson optinterpreter, to use this new OptionKey as the key to the option map lookups. It appears that they are enhancing the option parser so that you can get options from subprojects, different languages, and different build targets. We do not utilize this functionality so the defaults for an OptionKey are what we want. Tested: Ran the unit-test infrastructure against phosphor-power and confirmed that "-Dtests=enabled" was passed to meson. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I285bb396a2761f69dec4a7317b6da8761ea1bea8
Build script for CI jobs in Jenkins.