summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* add .clang-formatPatrick Venture2018-11-021-31/+29
| | | | | | | Add .clang-format for automatic style. Change-Id: I6d240009370179b5b8f1f646b0476a059ec6aa85 Signed-off-by: Patrick Venture <venture@google.com>
* s/copyright char/(C)/g to make compiler happyPatrick Venture2018-11-021-1/+1
| | | | | | | Compiler complaining about the copyright characters. Change-Id: I6730a50a668899a33e9dfcc4accb67ee207a3f08 Signed-off-by: Patrick Venture <venture@google.com>
* Use all phosphor-dbus-interfaces errorsMatt Spinler2017-10-041-5/+11
| | | | | | | | | | Remove the local error definitions and use the ones in phosphor-dbus-interfaces instead as the ones there suit our purposes and it simplifies this repository to do so. Change-Id: I18428c496914153270ecb181e7193acd0e386e97 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Change FSI behavior for 4.10Edward A. James2017-04-271-1/+1
| | | | | | | | | Latest FSI code changes paths and endianness, so we need to update Targeting and flip the CFAM data endian when necessary. Also update the test case to use the new 4.10 path style. Change-Id: I35cdedf4b9723ee0f8291d0abf4467dbfd99b334 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* Fix jenkins compile failureMatt Spinler2017-03-302-15/+25
| | | | | | | | | | | | | | | Jenkins just started complaining about a mismatch between an sprintf format and its type. This code will eventually be replaced by an elog, so is only temporary anyway. Also fixed unit test fails. With the newest location of the FSI slave directory, the path had to be updated in the testcases that model its structure. Change-Id: I46af324c25ea19d9ad31e9e9ce085b93f00cb1a9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Have the Target class manage the file descriptorMatt Spinler2017-03-142-3/+4
| | | | | | | | The sysfs file descriptor will now stay open from first use until the Target class is destroyed. Change-Id: Ib9803a527115cc75ecc9a5351d1e748ccd54a993 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Register proceduresMatt Spinler2017-03-142-1/+31
| | | | | | | | | | For a procedure to be available to run, it needs to have a call to a REGISTER_PROCEDURE macro. This macro wraps a call to a Register class that adds the procedure to the list along with the name to call it. Change-Id: I20d02e8f004c1c726228469465ae89b60ee52d66 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add gtest for Targeting classMatt Spinler2017-03-142-0/+116
Change-Id: I10d00d56561c52c479052d2e04630cc326091aa0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
OpenPOWER on IntegriCloud