From: AKASHI Takahiro <takahiro.akashi@linaro.org>
To: u-boot@lists.denx.de
Cc: sjg@chromium.org
Subject: [RFC] make sandbox UT more generic
Date: Thu, 31 Aug 2023 09:38:09 +0900 [thread overview]
Message-ID: <ZO/g8T1ohHI23xM8@octopus> (raw)
Hi,
I'm working on implementing SCMI-based pinctrl/gpio driver,
and want to re-use sandbox UT to test the code. However,
It is somehow sandbox-specific (with additional DT nodes).
How can/should we make it more generic for other targets/drivers
rather than just by copying the test code?
(I have already created a test for pinmux since there is only
one existing scenario, but gpio test has many.)
Even if I say 'generic', my case may be special since real
hardware (device drivers) cannot always run all the test cases,
while SCMI-based drivers potentially can with a dummy SCMI server
for sandbox.
See:
drivers/firmware/scmi/sandbox-scmi_agent.c
Thanks,
-Takahiro Akashi
next reply other threads:[~2023-08-31 0:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-31 0:38 AKASHI Takahiro [this message]
2023-08-31 2:49 ` [RFC] make sandbox UT more generic Simon Glass
2023-08-31 5:28 ` AKASHI Takahiro
2023-08-31 15:04 ` Simon Glass
2023-09-06 3:00 ` AKASHI Takahiro
2023-09-07 12:23 ` Simon Glass
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=ZO/g8T1ohHI23xM8@octopus \
--to=takahiro.akashi@linaro.org \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
/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