Closed kevinyeungxmos closed 2 years ago
I guess we need to run build in test_support
I guess we need to run build in test_support
@danielpieczko Does jenkins possible to add Pyxsim and xcoverage to PYTHONPATH ?
@danielpieczko Does jenkins possible to add Pyxsim and xcoverage to PYTHONPATH ?
You can set environment variables in the "environment" block near the start of the Jenkinsfile. If you want to add directories to the PYTHONPATH, you should be able to add something like:
PYTHONPATH = env.PYTHONPATH:<pyxsim_dir>:<xcoverage_dir>
I hope that works, but I've never tried extending an environment variable in this way on Jenkins before.
Is there a reason why they can't be added to requirements.txt so that they are automatically built and installed?
adding -e ../test_support
should fix it?
-e ../test_support/lib/python
I'll try it
setup.py
is in the root of test_support, so I think it would just be-e ../test_support
Had just spotted that and edited.. :)
setup.py
is in the root of test_support, so I think it would just be-e ../test_support
Had just spotted that and edited.. :)
And I spotted your edit and deleted mine :)
Looks like we have one test fail that passes locally. I'd like to be able to see the logs.
I think we just need to add:
Interesting half the tests start to fail now tracing is enabled
Interesting half the tests start to fail now tracing is enabled
change --numprocesses=4 passed
Interesting half the tests start to fail now tracing is enabled
change --numprocesses=4 passed
Thanks odd, simulator timeout should be based on xcore cycles. Great its working though
@danielpieczko any idea on this please?