[Libre-soc-isa] [Bug 686] create Power ISA test API

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Sep 9 23:38:12 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=686

--- Comment #21 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #19)
> One other thing, I'd like to request that the test API be designed with
> parallelism in mind...

ah this is an orthogonal issue.  as in: it's a low-level comparator
API that should have absolutely nothing to do with parallelism at
the *unit test runner* level (be that nosetests or any other)

bear in mind that attempting to run multiple parallel qemu 
cosimulations may simply not be practical.

but even there this API has absolutely nothing to do with how
it's used: it is PURELY a comparator API.

> Note how there are 16 separate unittest test cases
> test_mul_pipe_3_arg_{0..15} that each run 1/16 of the test, which allows
> test runners like pytest with pytest-xdist to run each in parallel, saving a
> bunch of time.

it's a good design, yet at the same time
has nothing to do with this bugreport, which is, solely
about extracting and then comparing two (or more) sets of "state".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libre-SOC-ISA mailing list