[libre-riscv-dev] [Bug 316] bperm TODO

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed May 20 01:40:29 BST 2020


--- Comment #56 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Jacob Lifshay from comment #55)
> (In reply to Cole Poirier from comment #54)
> > Ah yes, appreciated, I will grep first in the future. For clarification, the
> > way to run the tests is by cd'ing to the soc/decoder directory then running
> > 'python3 test/{test_file.py}' for each of the files in the tests directory?
> > Or do I cd to the top level soc directory, and run 'sudo python3 setup.py
> > test'?
> Definitely don't use `sudo`. I cd to the top level and run either `python3
> setup.py test` or `nosetests`.

I tried doing that but it seems like because the egg_info or wheel is installed
(per the HDL_Workflow instructions) within sudo bash I can't run it as a normal

cole at computer:~/src/soc$ python3 setup.py test
running test
running egg_info
error: [Errno 13] Permission denied

If there is something I have to do our could due to fix this please let me

In the process of running 'sudo (i know it's bad) python3 setup.py test' I
noticed some tests are failing due to import errors after the recent 'fu'
directory structure change, so I'm going through and fixing the import paths.

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

More information about the libre-riscv-dev mailing list