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

2018-10-05 Thread Chris Johns
On 05/10/2018 16:32, Sebastian Huber wrote: > You use Python 2. I have Python 3. It doesn't run that far to figure out that > this option is not available. Ah OK. There could be an issue with python3 and given python2 is now not available on MSYS2 it will need to work. Chris

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

2018-10-05 Thread Sebastian Huber
On 05/10/2018 08:28, Chris Johns wrote: 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     import rt.test ...   File

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

2018-10-05 Thread Chris Johns
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 >     import rt.test > ... >   File "/c/msys2/home/test/share/rtems/tester/rt/tftpy/TftpStates.py",

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

2018-10-05 Thread Sebastian Huber
On 05/10/2018 07:49, Chris Johns wrote: On 05/10/2018 15:19, Sebastian Huber wrote: Hello Chris, On 05/10/2018 06:24,chr...@rtems.org wrote: -# -# Support to handle use in a package and as a unit test. -# If there is a better way to let us know. -# -try: -    from . import error -    from .

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

2018-10-04 Thread Chris Johns
On 05/10/2018 15:19, Sebastian Huber wrote: > Hello Chris, > > On 05/10/2018 06:24, chr...@rtems.org wrote: >> -# >> -# Support to handle use in a package and as a unit test. >> -# If there is a better way to let us know. >> -# >> -try: >> -    from . import error >> -    from . import execute >>

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

2018-10-04 Thread Sebastian Huber
Hello Chris, On 05/10/2018 06:24, chr...@rtems.org wrote: -# -# Support to handle use in a package and as a unit test. -# If there is a better way to let us know. -# -try: -from . import error -from . import execute -from . import log -from . import options -from . import

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

2018-10-04 Thread chrisj
From: Chris Johns --- rtemstoolkit/check.py | 36 rtemstoolkit/config.py| 60 +++-- rtemstoolkit/configuration.py | 35 ++-- rtemstoolkit/darwin.py| 13 ++- rtemstoolkit/execute.py | 16 ++-- rtemstoolkit/freebsd.py | 14 ++--