summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add testcaseBrad Bishop2017-01-135-1/+71
| | | | | | | Add a basic test that simply runs the server. Change-Id: Ie682df8cf4dd755852e4fb07ccbc83e8bb13d629 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add a shutdown option to main loopBrad Bishop2017-01-133-8/+57
| | | | | | | | | | A shutdown option allows another thread to shut the server down. Typically this is only done at the end of a testcase that runs the server in one thread, and then executes tests from another. Change-Id: I7658bba79285d7c3e41b578c3510faa3363c5e01 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove main loop from application fileBrad Bishop2017-01-124-51/+80
| | | | | | | | Isolate main in its own file for maximum flexibility when linking. Change-Id: I7b1f591386d69a7044c65e7aab2116626166e4ff Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Vim modelinesBrad Bishop2017-01-1210-0/+19
| | | | | Change-Id: I23f30cd9be56089498089f8b12abe3f3e186b525 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Run astyleBrad Bishop2017-01-127-23/+40
| | | | | Change-Id: Iba20bab3093f15339760d4f782cc6d6e89156ab0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove phosphor-hwmon shared libraryBrad Bishop2017-01-111-6/+4
| | | | | | | An archive is more appropriate. Change-Id: I2fa87d0d83d3c74b4b8f44c2b6c742b1fa9f952c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove ltoBrad Bishop2017-01-111-1/+1
| | | | | | | This should be set by user flags. Change-Id: I4459403f525710a4c43c4436f4fba40fe32d9b5d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add licensesBrad Bishop2017-01-114-0/+60
| | | | | | | Add licenses to all implementation files. Change-Id: Ia7ba2f01e706a26fadb4331fe31254d9d7b5fd8c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add gitignoreBrad Bishop2017-01-111-0/+26
| | | | | Change-Id: I24dc395e7eabc2f38e66d7d911b65393324494d7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Fix memory leakVishwanatha Subbanna2016-12-051-2/+2
| | | | | | | | | After parsing the command line arguments, ArgumentParser does a release of unique pointer which will just release the ownership. This pointer is then never cleaned up resulting in leak. Fix is to reset the unique_ptr to null Change-Id: Ifa69399e2440547947b214dc4a36c3065b6ff608 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Convert build process to autotoolsMatthew Barth2016-10-1315-71/+99
| | | | | | | | | Replaced the use of a manual Makefile with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within the README.md file to build the package. Change-Id: Ieed870c63b2bef83b3741dd22e413c25916ed408 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Ensure all tools are building with -Wall and -WerrorMatthew Barth2016-08-291-1/+1
| | | | | | | Added -Werror to CXXFLAGS Change-Id: I7bf2e40daa6b5fa31a55e88bfcc417656aa89975 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add help argument to usage menuAdriana Kobylak2016-06-271-0/+1
| | | | | Change-Id: I948519f7f2c4bb148e552e2b9662bd443a53faca Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Merge pull request #8 from williamspatrick/initial-daemonPatrick Williams2015-10-2812-0/+423
|\ | | | | Initial read-daemon for hwmon entries
| * Initial read-daemon for hwmon entriesPatrick Williams2015-10-2012-0/+423
|/ | | | | | Discoveres hwmon entries for fans, input voltage, and temperature sensors. Polls entries on a 1s interval and displays a message to stdout if one of the entries have changed.
* Initial commitPatrick Williams2015-10-201-0/+202
OpenPOWER on IntegriCloud