summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Add clang-format to repoPatrick Venture2018-11-011-49/+51
| | | | | | | Add clang-format to repo. Change-Id: I3f8704d80dd0bdde0706ab189c68cffe6d347995 Signed-off-by: Patrick Venture <venture@google.com>
* Add --continue argumentLei YU2018-04-121-2/+2
| | | | | | | | | | | | | | | | | | | | 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>
* Fix test/Makefile.am formatGunnar Mills2017-07-281-6/+27
| | | | | Change-Id: I9448382ccddd0307d20ad52b0d1a5a108b092906 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Refactor GPIO Monitor classGunnar Mills2017-07-282-3/+5
| | | | | | | | 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>
* Fix incorrect initialization of evdevVishwanatha Subbanna2017-06-191-2/+2
| | | | | | | Fixes openbmc/openbmc#1799 Change-Id: I81662ede88d1a05db48686ec57aab969c8dea27a Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Use libevdev for monitoring GPIO state changeVishwanatha Subbanna2017-04-271-2/+3
| | | | | Change-Id: I962af3034586f027e6ba74387dcda6ef0cf3672e Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add gtest cases to test callback handlerVishwanatha Subbanna2017-04-272-0/+135
Change-Id: If6c1e1616bcf73441648c8e0cb20017a4b218f70 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud