[Libre-soc-bugs] [Bug 784] Implement cl* instructions for carry-less operations

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Apr 5 20:37:04 BST 2022


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

--- Comment #16 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #15)
> (In reply to Jacob Lifshay from comment #14)
> > Luke, you broke the code:
> > https://salsa.debian.org/Kazan-team/mirrors/nmigen-gf/-/jobs/2642438
> > 
> > you keep complaining I never run the tests...apparently I'm not the only one
> > who forgets.
> 
> i didn't forget: running anything (at all) fails due to the
> local imports.
> 
> $ python3 gf_reference/test_cl_gfb_gfp.py 
> Traceback (most recent call last):
>   File "gf_reference/test_cl_gfb_gfp.py", line 1, in <module>
>     from .state import ST
> ModuleNotFoundError: No module named '__main__.state'; '__main__' is not a
> package

run it using:
pytest -n auto src

just like in .gitlab-ci.yml

or, if you don't want to use pytest:
python3 -m unittest src/nmigen_gf/reference/test_cl_gfb_gfp.py

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


More information about the libre-soc-bugs mailing list