tests: ptimer: Add tests for "no counter round down" policy
commit057516fe2cd6bcc71fd66564d108d708a6b395b6
authorDmitry Osipenko <digetx@gmail.com>
Mon, 24 Oct 2016 15:26:53 +0000 (24 16:26 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Oct 2016 15:26:53 +0000 (24 16:26 +0100)
treeeaaf39ddf2dac965b5f04c80975807b07fe893b5
parent5580ea4576b60a4fa615c85e254fab1401149b45
tests: ptimer: Add tests for "no counter round down" policy

PTIMER_POLICY_NO_COUNTER_ROUND_DOWN makes ptimer_get_count() return the
actual counter value and not the one less.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Message-id: 0082889309b3dc66c03c8de00b8c1ef40c1e3955.1475421224.git.digetx@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/ptimer-test.c