Rtems-test cortex-m3

Aurelio Remonda aurelio.remonda at tallertechnologies.com
Mon Jan 11 19:54:39 UTC 2016


On Mon, Jan 11, 2016 at 3:47 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
>
> On 08/01/16 17:41, Aurelio Remonda wrote:
>>
>> Thanks for your answers! I am running the tests for
>> realview_pbx_a9_qemu for the moment.
>> I have a few questions if you don't mind
>>
>> With the git repository version of rtems
>> ./rtems-test --log=realview_pbx_a9_qemu
>> --rtems-bsp=realview_pbx_a9_qemu
>> --rtems-tools=/home/aurelio-remonda/rtems_a9/install
>>
>> /home/aurelio-remonda/rtems_a9/build/arm-rtems4.11/c/realview_pbx_a9_qemu/testsuites/
>>
>> The result is:
>>
>> Passed:   523
>> Failed:     4
>> Timeouts:   6
>> Invalid:    0
>> -------------
>> Total:    533
>>
>> Failures:
>>   sp69.exe
>>   psxcleanup02.exe
>>   sptimecounter02.exe
>>   psxcancel.exe
>> Timeouts:
>>   psxintrcritical01.exe
>>   spintrcritical11.exe
>>   spintrcritical07.exe
>>   spintrcritical12.exe
>>   spintrcritical06.exe
>>   spintrcritical15.exe
>> Average test time: 0:00:01.244372
>> Testing time     : 0:11:03.250308
>>
>> Are those expected fails?
>
>
> Yes, one issue is that timing related tests work bad on Qemu.
>

So, those test never actually pass with qemu emulation?

>>
>> On the other hand:
>> When i try to run with the version of rtems we use:
>> ./rtems-test --log=realview_pbx_a9_qemu
>> --rtems-bsp=realview_pbx_a9_qemu
>> --rtems-tools=/home/aurelio-remonda/rtems_gnc/install
>>
>> /home/aurelio-remonda/rtems_gnc/build/arm-rtems4.11/c/realview_pbx_a9_qemu/testsuites/
>>
>> I get:
>> error: unknown application load error.
>> Any hints of what is the problem?
>>
>>
>
> I would run Qemu in the debugger to figure out the exact error.
>

This is previous to qemu emulation, i found out i was using the last
rtems-test when it failed. So i start looking the last commits on
rtems-test and found out that on:
https://git.rtems.org/rtems-tools/commit/?id=606c08c8b521dce0121cddcabcc23f3e25ad2ffd

On this particular piece of code of that patch:
diff --git a/rtemstoolkit/version.py b/rtemstoolkit/version.py
index 542a8e0..3c135b1 100644
--- a/rtemstoolkit/version.py
+++ b/rtemstoolkit/version.py
@@ -35,9 +35,8 @@
import sys
-import error
-import git
-import path
+from . import error
+from . import path

import git was deleted. Is this a mistake? I try adding the line and
the script runs propertly.
Please let me know if im wrong. Thank you in advance.



More information about the devel mailing list