Re: [PATCH 3/3] USB: usbtest : Add tests to ensure HCDs can accept byte aligned buffers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-10-07 at 09:00 +0200, Martin Fuzzey wrote:


> Maybe the "test.sh" script should be in the tools/usb
> too (renamed to hcd-test.sh) and updated to use the
> new tests?

Good idea.  Better not to have fewer  key test resources
on the website, and more as part of the kernel download.

Driver test suites have been a huge hole in Linux for a
very long time... I'd like to have seen someone start to
work on such stuff, but over the last ten years or so, I've
seen no signs of that happening; there was a team that said it
wanted to start organizing testing, but they completely ignored
the Linux-USB tests (which were at that time the only structured
and planned Linux driver tests I'd seen...

On the other hand, the test plans themselves (HCD, gadget) don't seem
to be headed into that directory, and maybe they should.  It's not very
useful to have tests there without any instructions about how to use
them to achieve all of the intended test coverage... doing that for
the HCD side might  be a good start.  I'd see two parts to it:  (1) the
stuff that can be used with any device, (2) the stuff that needs some
kind of "golden gadget" (g_zero etc) with known-good behavior against
which the host is being tested.

Related:  last I used the tests much, I used OHCI as the "golden HCD"
which had known-good behaviors.  I don't know if bugs have appeared that
may cause troubles in with that approach ...


- Dave



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux