<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-watchdog/test, branch master</title>
<subtitle>OpenBMC Phosphor watchdog daemon sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-watchdog/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-watchdog/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/'/>
<updated>2019-03-06T21:47:55+00:00</updated>
<entry>
<title>meson: Add alternate build system</title>
<updated>2019-03-06T21:47:55+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-01-16T02:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=b93377104292de0f94087c0cbb79d4d6d8516b84'/>
<id>urn:sha1:b93377104292de0f94087c0cbb79d4d6d8516b84</id>
<content type='text'>
For now we will support both the autotools and meson build systems
alongside each other, until support for meson is ready across the
ecosystem.

Tested:
    Run through build and unit tests that leverage the new build system
    and all of the tests pass and the install puts phosphor-watchdog in
    the correct location.

Change-Id: I0454e763acc648ac76efd7728f6da498d9acf5dd
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>test/watchdog: Change the time quantum to 0.1s instead of 1s</title>
<updated>2019-01-17T01:04:39+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-01-16T23:46:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=5e350795bfc4f100ea00cab34ab9b14bb3106d82'/>
<id>urn:sha1:5e350795bfc4f100ea00cab34ab9b14bb3106d82</id>
<content type='text'>
This improves the runtime of the test suite from 60s down to 6s or less.

Tested:
    Run multiple times through the unit test suite without any
    flakiness.

Change-Id: Ib7d97ed62b45501db9cf15dba01e33f8f9d07b5d
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>test/watchdog: Define a time quantum type</title>
<updated>2019-01-17T01:04:14+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-01-16T23:43:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=3964f0011097e646f911879969d8c2c194dec090'/>
<id>urn:sha1:3964f0011097e646f911879969d8c2c194dec090</id>
<content type='text'>
This will allow us to change the size of the windows of time we wait for
watchdog events to happen. Right now this doesn't actually change any
behavior it just makes it easier to tweak.

Tested:
    Run through the build and unit test suite.

Change-Id: If5b351574346426aff6499701164a3d5ebf9db7c
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>test/watchdog: Don't use designated initializers</title>
<updated>2019-01-17T01:04:14+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-01-17T00:58:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=8cf5f64c9e566326dabd79abaf405b85dc8f8018'/>
<id>urn:sha1:8cf5f64c9e566326dabd79abaf405b85dc8f8018</id>
<content type='text'>
gcc supported this in c++ even though it was non-standard until c++2a is
complete. This change removes designated initializers to make our tests
compliant with std++17.

Tested:
    Built and run through unit tests.

Change-Id: I846394c633c0396518db6ed41682bbcf05b890c6
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>test: Rename watchdog_test to watchdog</title>
<updated>2019-01-17T01:04:14+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2019-01-16T23:00:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=af60e63080725d99bf0b1b11acab00b8403baca3'/>
<id>urn:sha1:af60e63080725d99bf0b1b11acab00b8403baca3</id>
<content type='text'>
Tested:
    Ran through build and unit test suite.

Change-Id: I3a906ac26c43ac419eef8a98b20a498fe22f942b
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>Convert to standard CLI11 argument parser</title>
<updated>2018-10-05T22:06:20+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2018-09-13T07:36:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=1eb97d9c3d3a35c6421d7e9831db14ba8e038d89'/>
<id>urn:sha1:1eb97d9c3d3a35c6421d7e9831db14ba8e038d89</id>
<content type='text'>
This simplifies the argument parsing logic drastically and still
provides the same error handling as before.

Tested:
    Ran through unit test suite and manually verified that the command
    line functions as expected on a real BMC.

Change-Id: Ic5d69adf5359f9f64f2ada17e6a8f3242ca03e25
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>Convert to using sdeventplus</title>
<updated>2018-10-05T09:14:28+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2018-09-13T01:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=f505fc0674d5cf14a8b1903cb894e4a171e28400'/>
<id>urn:sha1:f505fc0674d5cf14a8b1903cb894e4a171e28400</id>
<content type='text'>
This gets rid of the ad-hoc timer class in favor of using the timer
source built into sdeventplus.

Tested:
    Unit tests pass and everything still builds. Manually verified the
    functionality is still in tact on a zaius machine.

Change-Id: I90619f0fe5a9fdfcecd24a49de672c0c99dc95e9
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>test/watchdog: Test interval update</title>
<updated>2018-09-24T21:28:17+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2018-09-24T21:23:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=d4cbc5aad28f32c90e18d0fdd5ff8d1150fbd663'/>
<id>urn:sha1:d4cbc5aad28f32c90e18d0fdd5ff8d1150fbd663</id>
<content type='text'>
Adds a test to ensure that setting the interval on the watchdog affects
subsequent resetTimeRemaining() calls.

Tested:
    Ran through a unit test run

Change-Id: Ibff14bbb40d5b93ffd5eaa5149f5cc9822e21d1e
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>Standardize Action -&gt; Target Map Type</title>
<updated>2018-09-17T17:36:47+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2018-09-13T07:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=3bb2f4006f3c62a415e7610926b06fed7a045906'/>
<id>urn:sha1:3bb2f4006f3c62a415e7610926b06fed7a045906</id>
<content type='text'>
This change refactors the watchdog header to export the type of watchdog
action to systemd target map, so it can be directly used by other files.
This makes enumerating the map type more trivial.

Also convert to an unordered_map instead of map since we don't need the
ordering guarantees.

Tested:
    Builds and tests still pass

Change-Id: I77d315210ec27fde295589479c50d46dc5d1b32a
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>add .clang-format</title>
<updated>2018-09-12T00:50:58+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2018-09-12T00:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-watchdog/commit/?id=8f6c51564d634eb26f1ca8aa599fbbda19e06dec'/>
<id>urn:sha1:8f6c51564d634eb26f1ca8aa599fbbda19e06dec</id>
<content type='text'>
Change-Id: I6d9ec8401dcd46781ea258bf8998faa2507fa91d
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
</content>
</entry>
</feed>
