[PATCH 09/21] test: Update NAND test to avoid extra macros

Sean Anderson seanga2 at gmail.com
Sat Aug 17 20:29:52 CEST 2024


On 8/10/24 16:51, Simon Glass wrote:
> Use a single test function with a for() loop instead of using macros to
> create multiple test functions. Add a message so it is clear what piece
> the test is up to, if it fails.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Well, the whole reason I wrote it this was was to make sure both tests run
even if one fails. They flashes have different sizes/geometries/ecc and it's
definitely possible for some regression to happen for one but not the other.
Having two test cases makes it easy to see this.

--Sean


More information about the U-Boot mailing list