OSDN Git Service

selftests: timers: move PIE tests out of rtctest
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 19 Apr 2018 12:50:27 +0000 (14:50 +0200)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 30 May 2018 21:21:51 +0000 (15:21 -0600)
commit843b20bcb82f1f61d7da7a693362bf6f09c73169
tree1f9366af87a47c8652337569006b1a558c5b8505
parentdd4b16b4f9b1b7d9f4a185cb8222e42f3a5daf00
selftests: timers: move PIE tests out of rtctest

Since commit 6610e0893b8bc ("RTC: Rework RTC code to use timerqueue for
events"), PIE are completely handled using hrtimers, without actually using
any underlying hardware RTC.

Move PIE testing out of rtctest. It still depends on the presence of an RTC
(to access the device file) but doesn't depend on it actually working.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/timers/.gitignore
tools/testing/selftests/timers/Makefile
tools/testing/selftests/timers/rtcpie.c [new file with mode: 0644]
tools/testing/selftests/timers/rtctest.c