From: gengcixi@gmail.com <gengcixi@gmail.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 0/3] add rtctime libs and rtc02 case
Date: Wed, 23 Dec 2020 11:35:14 +0800 [thread overview]
Message-ID: <20201223033517.1464263-1-gengcixi@gmail.com> (raw)
From: Cixi Geng <cixi.geng1@unisoc.com>
This file is a implementation for rtc test function
in tst_rtctime lib, support tst_rtc_gettime and tst_rtc_settime;
at the same file, also add rtctime and time_t convert functions.
in tst_wallclock.s, add tst_rtc_save and tst_rtc_restore for testcase
used in SETUP and CLEANUP.
the rtc02 testcase is verify set rtctime a exact timestamp.
Cixi Geng (3):
lib: add tst_rtctime* for rtc test
lib: implement rtctime_save and rtctime_restore function
rtc02: add rtc set time verify case
include/tst_rtctime.h | 15 ++
include/tst_wallclock.h | 4 +
lib/tst_rtctime.c | 161 ++++++++++++++++++
lib/tst_wallclock.c | 42 +++++
runtest/kernel_misc | 1 +
.../kernel/device-drivers/rtc/.gitignore | 1 +
testcases/kernel/device-drivers/rtc/rtc02.c | 108 ++++++++++++
7 files changed, 332 insertions(+)
create mode 100644 include/tst_rtctime.h
create mode 100644 lib/tst_rtctime.c
create mode 100644 testcases/kernel/device-drivers/rtc/rtc02.c
--
2.25.1
next reply other threads:[~2020-12-23 3:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-23 3:35 gengcixi [this message]
2020-12-23 3:35 ` [LTP] [PATCH 1/3] lib: add tst_rtctime* for rtc test gengcixi
2021-01-07 13:50 ` Cyril Hrubis
2021-01-08 8:30 ` Cixi Geng
2020-12-23 3:35 ` [LTP] [PATCH 2/3] lib: implement rtctime_save and rtctime_restore function gengcixi
2021-01-07 13:57 ` Cyril Hrubis
2021-01-08 9:19 ` Cixi Geng
2021-01-08 9:34 ` Cyril Hrubis
2021-01-08 9:45 ` Cixi Geng
2020-12-23 3:35 ` [LTP] [PATCH 3/3] rtc02: add rtc set time verify case gengcixi
2021-01-07 14:32 ` Cyril Hrubis
2021-01-07 14:33 ` [LTP] [PATCH 0/3] add rtctime libs and rtc02 case Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201223033517.1464263-1-gengcixi@gmail.com \
--to=gengcixi@gmail.com \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox