About initial build and unit test #189
Replies: 2 comments 4 replies
-
Hi @ahmetakman thanks for the question. Can you try to run the unit tests directly I have a feeling the pybuilder virtual environment is not working correctly on your system. Sometimes this can be caused by path limitations on Windows. We need to update all of our docs to running the unit tests directly rather than through pyb. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am having the same error when using pyb and directly by running python -m unittest. The result when running the latter is the following: ======================================================================
|
Beta Was this translation helpful? Give feedback.
-
During the installation procedure, for the build command
pyb -E unit
there happened a bunch of Assertation and Type errors while executing the unit tests from Python modules.Then the info occurs as Executed 180 unit tests and All unit tests passed. According to the error this happens in run_spk. Then build system gives same errors and Infos 3 times.
Just after that the system warn about some test coverages are below 70%.
[INFO] Overall lava-nc coverage is 72%
[INFO] Overall lava-nc branch coverage is 66%
[INFO] Overall lava-nc partial branch coverage is 91%
Finally, there occurs the error " BUILD FAILED - Error while executing setup command ['bdist_dumb']. " and build finishes.
I am using Python 3.9.6
Windows 10.
Intel I7 9750H
What could have caused this build error sequence what can be the solution?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions