[PATCH] rtemstoolkit: Fix imports and fix all unittests.

Chris Johns chrisj at rtems.org
Fri Oct 5 06:28:38 UTC 2018


On 05/10/2018 16:07, Sebastian Huber wrote:
> 
> Problems appear later (this is expected):
> 
> $ ./rtems-test --version
> Traceback (most recent call last):
>   File "./rtems-test", line 39, in <module>
>     import rt.test
> ...
>   File "/c/msys2/home/test/share/rtems/tester/rt/tftpy/TftpStates.py", line 371
>     raise TftpException, "Dynamic path %s not permitted" % path
>                        ^
> SyntaxError: invalid syntax
> 

I do not see this. I see this ...

$ ./rtems-test --version
RTEMS Testing - Tester, undefined.not_released
 Command Line: ./rtems-test --version
 Python: 2.7.14 (default, Nov  9 2017, 09:50:21)  [GCC 7.2.0 64 bit (AMD64)]
Host: Windows-10-10.0.17134-SP0 (Windows weng 10 10.0.17134 AMD64 Intel64 Family
6 Model 42 Stepping 7, GenuineIntel)
error: RTEMS BSP not provided or an invalid option

Is --version an option? It is not listed in the --help.

Chris



More information about the devel mailing list