On 03/01/2018 04:48 AM, Liam Beguin wrote:
On 1 March 2018 at 01:59, Michal Simek <michal.si...@xilinx.com> wrote:
...
Also these randomized data/lengths were able to find out more issues
than fixed one. I was playing with that randomized test order and I see
that not all current tests are self contained and this will be good to
run too.

I'll add options to randomize in v2.

I'd strongly prefer the tests to be deterministic and not do random different actions each time they're run. That way, any failures are much easier to track down. Writing randomly generated data is fine, but not random access patterns or sets of operations.

Although I suppose you could implement two sets of tests; one that does a static set of operations driven by a table in the board config file, and one that does a more randomized set of operations controlled by limits set by a table in the board config file.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to