History log of /openbmc/phosphor-hwmon/test/meson.build (Results 1 – 6 of 6)
Revision Date Author Comments
# 58bd8ba8 29-Nov-2023 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer retur

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I0fe9c9363a6a6dc1cd508da03ab30dde022c5526
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 9c405345 29-May-2021 William A. Kennington III <wak@google.com>

build: test: Fix invalid variable

We don't define the build_tests variable, reference the option directly
instead.

Change-Id: Ic190c083c2c4ebd4c1b3715cea39b563e0294b6d
Signe

build: test: Fix invalid variable

We don't define the build_tests variable, reference the option directly
instead.

Change-Id: Ic190c083c2c4ebd4c1b3715cea39b563e0294b6d
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# bb25973a 05-May-2021 William A. Kennington III <wak@google.com>

meson: Cleanup tests and make them execute again

The tests were previously building but not executing. Fix the build so
they execute and pass again.

Change-Id: I6e29eadd4f51cf47

meson: Cleanup tests and make them execute again

The tests were previously building but not executing. Fix the build so
they execute and pass again.

Change-Id: I6e29eadd4f51cf47d05f7172f37c76688955ac61
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# f9aff805 05-May-2021 William A. Kennington III <wak@google.com>

meson: Cleanup library linking

Change-Id: Ie1fa47ec3c6f2d2a88f8487f3a533c5ebd801612
Signed-off-by: William A. Kennington III <wak@google.com>


# 5e034afc 24-Jun-2020 Matt Spinler <spinler@us.ibm.com>

Print the failing filename in the journal msg

Instead of hiding the name of the file that had the failed access in the
journal metadata, put it in the journal message so debug is easier.

Print the failing filename in the journal msg

Instead of hiding the name of the file that had the failed access in the
journal metadata, put it in the journal message so debug is easier.

Uses the fmt library.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ice3958ffb576adf0b06ef7eab7d2fc03aa526819

show more ...


# 5906173a 07-Oct-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: add support for building with meson

Follow the OpenBMC herd and support a more modern, more comprehensible,
more performant build framework.

To build using meson:
m

build: add support for building with meson

Follow the OpenBMC herd and support a more modern, more comprehensible,
more performant build framework.

To build using meson:
meson build
ninja -C build
ninja -C build install

Maintain support for:
Configurable dbus parameters:
BUSNAME_PREFIX= -> -Dbusname-prefix=
SENSOR_ROOT= -> -Dsensor-root=
System call failure behavior:
--enable-negative-errno-on-failure -> -Dnegative-errno-on-fail
--enable-update-functional-on-fail -> -Dupdate-functional-on-fail

Add -Dtests to match de-facto OpenBMC meson usage conventions.

Drop support for --enable-oe-sdk rpath munging. This is a workaround
for broken oe sdks that don't figure out the correct rpath when running
make check or ninja test.

Upstream meson does not currently have support for custom code coverage
parameters:
https://github.com/mesonbuild/meson/issues/4628

Autotools does support this, so support of our custom code coverage
parameters cannot be maintained using meson, without meson enhancements.

Change-Id: I312f1af4c3fcc20ca8bdf2bbf53b06f18abfbfe2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...