Open
Description
It should be possible to easily build a custom SAI-Challenger docker with additional software inside and custom test cases.
Currently, there are 2 main issues with this:
- tests folder and working directory MUST be directly in
/sai-challenger
folder and only on the first level otherwisesai_npu
load fails - SAI-Challenger packages are installed directly to the search path and make some mess there. I would expect to have them in the same location as it is done for PTF. When all modules are installed into
ptf
(specifically/usr/local/lib/python3.7/dist-packages/ptf
) folder and any import can be done likefrom ptf import something
.
Possible use case:
a. Custom SAI-Challenger client container for testing HW using customized tests and test tools
b. Using SAI-Challenger as a 3rd party module in other projects where folder structure may be different.