From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH V3] uart: add uart testcase in kernel device-drivers
Date: Tue, 31 Mar 2020 17:14:44 +0200 [thread overview]
Message-ID: <20200331151444.GC2900@yuki.lan> (raw)
In-Reply-To: <CAF12kFv9+Bu5q9XxbeUUBuSCWKgSt6dYEwmaepsCUP9qX8OxaQ@mail.gmail.com>
Hi!
> I hope the ltp test devices have a more convenient way???
> like auto detect if the machine have these devices
> and can run the device test.
> Now we only test the uart device,we can export PORTxx for the test.
> but if we have to test dozens or even hundreds devices,
> the way to set device environment variable needed test is very trouble and
> time consuming
> So I don't think add need_devices is the best desirable way
I think that the right way is that the detection is in the test
execution framework, not it the test, where it does not belong.
So either the execution framework has to be able to re-run the test for
each UART pair, or we have to be able to pass more structured data to
the test. I will think a bit more about this.
--
Cyril Hrubis
chrubis@suse.cz
prev parent reply other threads:[~2020-03-31 15:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-31 6:54 [LTP] [PATCH V3] uart: add uart testcase in kernel device-drivers gengcixi
2020-03-31 7:41 ` Petr Vorel
2020-03-31 9:06 ` Cixi Geng
2020-03-31 15:14 ` Cyril Hrubis [this message]
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=20200331151444.GC2900@yuki.lan \
--to=chrubis@suse.cz \
--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