summaryrefslogtreecommitdiffstats
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* Emit adding/removing interfaces for object serverHEADmasterLei YU2020-02-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The object server currently either creats the objects and interfaces, or defer the signal by not adding objects. In practice, we have situations that the code would like to add interfaces to an existing object, and it's not supported, or needs tricky code to workaround. Exmaples: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-bmc-code-mgmt/+/5820 https://gerrit.openbmc-project.xyz/c/openbmc/openpower-pnor-code-mgmt/+/5346 This commit adds the support by: 1. Adding emit_added() in interface.hpp and the generated server.hpp 2. Adding a enum class in object's constructor to indicate which action to do, to create the object, or adding the interface, or defer signal as before. So the user of object<> could pass `action::emit_interface_added` to the constructor to tell the object server *only* emit interface added to DBus, without emitting object added. The previous code stays the same behavior: * If `true` is passed in object's constructor, it defers emitting object added signal; * If no extra parameter is passed in object's constructor, it emits object added signal as before. Tested: 1. Make sure the openbmc builds fine with https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-logging/+/25089 because phosphor-logging uses its own server.hpp for interface, the above patch removes that. 2. Manually write a small service to verify the interfaces are added and removed by using the `emit_interface_added` action. 3. Added the unit test cases for object.hpp to check the ctor/dtor with different actions. Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I178c5bed3c9ff39ee2ac8d143fbe9131b0753dfa
* autotools: Fix for autoconf-archive 2019.01.19William A. Kennington III2019-03-151-0/+2
| | | | | | | | | The code coverage macros from the archive changed in a backward incompatible way. This adds a workaround to autodetect either version and do the right thing. Change-Id: Ibb95188264f3fece4a18dbcb98f3e90f8350ff21 Signed-off-by: William A. Kennington III <wak@google.com>
* gitignore: Add missing /test/timer binaryWilliam A. Kennington III2018-10-151-0/+1
| | | | | | | This was never added when the test was made Change-Id: I15655cdf131d8baef02c3856c53c79e014b9cf24 Signed-off-by: William A. Kennington III <wak@google.com>
* gitignore: Add all autogenerated filesWilliam A. Kennington III2018-07-091-0/+61
| | | | | | | | | | | | | Our gitignore is lacking definitions for most of the autogenerated files by the project. This patch aims to clean up the gitignore by adding all of the currently generated files / types to the list. Tested: Ran through a full unit test suite and none of the files are picked up anymore. Change-Id: I015776222f1750d200cc4beac13e1ac4329dd519 Signed-off-by: William A. Kennington III <wak@google.com>
* Add .gitignorePatrick Williams2016-10-131-0/+4
Change-Id: Ib651fd8da3d4f6bf8ee0efe0267971705dd4ec43 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud