[U-Boot] [PATCH 1/1] test/py: provide example scripts for integrating qemu
Stephen Warren
swarren at wwwdotorg.org
Tue Sep 19 16:18:09 UTC 2017
On 09/18/2017 03:37 PM, Heinrich Schuchardt wrote:
> On 09/18/2017 11:28 PM, Stephen Warren wrote:
>> On 09/18/2017 01:55 PM, Heinrich Schuchardt wrote:
>>> On 09/18/2017 08:27 PM, Stephen Warren wrote:
>>>> On 09/17/2017 01:32 PM, Heinrich Schuchardt wrote:
>>>>> The necessary parameters for running Python tests on qemu are
>>>>> tediouus to find.
>>> Empty file
>>> __init__.py
>>
>> __init__.py isn't the correct filename.
>
> We need 2 *.py files.
>
> __init__.py to make the directory a package directory and the board
> file. My example is not for the sandbox but for qemu-x86_defconfig.
You don't need __init__.py. The directory doesn't need to be a Python
package. You just need u_boot_boardenv_xxx.py in a directory, and to add
that directory into $PYTHONPATH.
More information about the U-Boot
mailing list