History log of /openbmc/phosphor-gpio-monitor/test/ (Results 1 – 12 of 12)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5d234dd122-Apr-2024 Konstantin Aladyshev <aladyshev22@gmail.com>

meson: Provide "gmock" for local build

Currently local meson build fails with the error:
"""
test/meson.build:1:8: ERROR: Dependency "gmock" not found, tried
pkgconfig and system
"""
Provide "gmock/

meson: Provide "gmock" for local build

Currently local meson build fails with the error:
"""
test/meson.build:1:8: ERROR: Dependency "gmock" not found, tried
pkgconfig and system
"""
Provide "gmock/gtest" for local build to fix the issue.

Tested:
"meson setup build" no longer fails with the "gmock not found" error.

Change-Id: Ia5987e9355e76ce69fa5258d19f097be10a9d5f9
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>

show more ...

0172969c01-Jun-2023 Patrick Williams <patrick@stwcx.xyz>

meson: add subproject support

Enable building the repository outside of an OpenBMC Docker container or
SDK by leveraging meson subproject support. Copy wrap files from
elsewhere in the organization

meson: add subproject support

Enable building the repository outside of an OpenBMC Docker container or
SDK by leveraging meson subproject support. Copy wrap files from
elsewhere in the organization and update the meson dependencies for some
missing dependencies.

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

show more ...


/openbmc/phosphor-gpio-monitor/.clang-format
/openbmc/phosphor-gpio-monitor/.gitignore
/openbmc/phosphor-gpio-monitor/99-gpio-keys.rules
/openbmc/phosphor-gpio-monitor/OWNERS
/openbmc/phosphor-gpio-monitor/README.md
/openbmc/phosphor-gpio-monitor/evdev.hpp
/openbmc/phosphor-gpio-monitor/gpio-util/gpio.cpp
/openbmc/phosphor-gpio-monitor/gpio-util/gpio.hpp
/openbmc/phosphor-gpio-monitor/gpio-util/main.cpp
/openbmc/phosphor-gpio-monitor/gpioMon.cpp
/openbmc/phosphor-gpio-monitor/gpioMon.hpp
/openbmc/phosphor-gpio-monitor/gpioMonMain.cpp
/openbmc/phosphor-gpio-monitor/mainapp.cpp
/openbmc/phosphor-gpio-monitor/meson.build
/openbmc/phosphor-gpio-monitor/monitor.cpp
/openbmc/phosphor-gpio-monitor/monitor.hpp
/openbmc/phosphor-gpio-monitor/phosphor-gpio-monitor@.service
/openbmc/phosphor-gpio-monitor/phosphor-gpio-presence@.service
/openbmc/phosphor-gpio-monitor/phosphor-multi-gpio-monitor.json
/openbmc/phosphor-gpio-monitor/phosphor-multi-gpio-monitor.service
/openbmc/phosphor-gpio-monitor/presence/gpio_presence.cpp
/openbmc/phosphor-gpio-monitor/presence/gpio_presence.hpp
/openbmc/phosphor-gpio-monitor/presence/main.cpp
/openbmc/phosphor-gpio-monitor/presence/meson.build
/openbmc/phosphor-gpio-monitor/subprojects/CLI11.wrap
/openbmc/phosphor-gpio-monitor/subprojects/libgpiod.wrap
/openbmc/phosphor-gpio-monitor/subprojects/nlohmann-json.wrap
/openbmc/phosphor-gpio-monitor/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-gpio-monitor/subprojects/phosphor-logging.wrap
/openbmc/phosphor-gpio-monitor/subprojects/sdbusplus.wrap
meson.build
31805afa19-Sep-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: drop autotools

With previously added support for building with meson/ninja autotools
support is no longer required.

Change-Id: I7bc2588ac71a7c37d1c542927dca8f8ae50c8c83
Signed-off-by: Brad B

build: drop autotools

With previously added support for building with meson/ninja autotools
support is no longer required.

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

show more ...

2d66b51719-Sep-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:
meson build
ninja -C

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

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

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

Ran existing unit tests (which passed) using ninja test.

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

show more ...

86d16f0319-Sep-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: fix some warnings

Fix a couple of warnings:

-Werror=unused-parameter

so we can use meson's warning_level=3 and -Werror without build
failures.

Change-Id: I14487a56727469f6bda1cabccce8241ac

build: fix some warnings

Fix a couple of warnings:

-Werror=unused-parameter

so we can use meson's warning_level=3 and -Werror without build
failures.

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

show more ...

dace680f01-Nov-2018 Patrick Venture <venture@google.com>

Add clang-format to repo

Add clang-format to repo.

Change-Id: I3f8704d80dd0bdde0706ab189c68cffe6d347995
Signed-off-by: Patrick Venture <venture@google.com>

bc4a4ff611-Apr-2018 Lei YU <mine260309@gmail.com>

Add --continue argument

The monitor will exit when key is pressed.
Add --continue argument and if it is set to "true", the monitor will
continue after key is pressed.

This is useful in cases to mon

Add --continue argument

The monitor will exit when key is pressed.
Add --continue argument and if it is set to "true", the monitor will
continue after key is pressed.

This is useful in cases to monitor a button presses.
E.g. It can be used to monitor ID button and start a system unit
everytime when the button is pressed.

This argument is optional so it does not break the current code.

Tested: With "--continue=true", the monitor does not exit when the key
is pressed.
Without the argument of if it is set to other strings, the
monitor exits after the key is pressed.

Change-Id: I4f2ca16d7b26e10397181c83c2c5947ed5ce091f
Signed-off-by: Lei YU <mine260309@gmail.com>

show more ...

5d89f18a28-Jul-2017 Gunnar Mills <gmills@us.ibm.com>

Fix test/Makefile.am format

Change-Id: I9448382ccddd0307d20ad52b0d1a5a108b092906
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

9925857a27-Jul-2017 Gunnar Mills <gmills@us.ibm.com>

Refactor GPIO Monitor class

Refactor the GPIO Monitor class to use a common class, Evdev,
to inherit from. Evdev does the basic libevdev handling.

Change-Id: I427aa9720b0bbbea0284c0babcc03ece92e55f

Refactor GPIO Monitor class

Refactor the GPIO Monitor class to use a common class, Evdev,
to inherit from. Evdev does the basic libevdev handling.

Change-Id: I427aa9720b0bbbea0284c0babcc03ece92e55f5e
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...

ba8de42119-Jun-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Fix incorrect initialization of evdev

Fixes openbmc/openbmc#1799

Change-Id: I81662ede88d1a05db48686ec57aab969c8dea27a
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

77ec479910-Apr-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Use libevdev for monitoring GPIO state change

Change-Id: I962af3034586f027e6ba74387dcda6ef0cf3672e
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

32c9727304-Apr-2017 Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>

Add gtest cases to test callback handler

Change-Id: If6c1e1616bcf73441648c8e0cb20017a4b218f70
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>