rtems-test runtime errors qemu.cfg

Tanu Hari Dixit tokencolour at gmail.com
Tue May 30 19:34:30 UTC 2017


Hi Cillian,

I usually do a git grep -i "<string>" to find out where possibly a
macro or variable is used elsewhere in the code. Not the best way, but
works mostly.
Also %{qemu_cmd} has been defined here in the same file
(https://devel.rtems.org/browser/rtems-tools/tester/rtems/testing/qemu.cfg#L60).
I also sometimes use winpdb to see what value a macro has but this is
a long process to step into each line.
I wanted to ask what command did you use exactly with rtems-test? I
couldn't find a recipe for qemu simulation for pc386 in
rtems-tools.git/tester/rtems/testing/bsps.

Regards,
Tanu Hari Dixit.

On Wed, May 31, 2017 at 12:42 AM, Cillian O'Donnell
<cpodonnell8 at gmail.com> wrote:
> Hi,
>
> I'm trying to run rtems-test for pc386 with the added --coverage tag for
> couverture-qemu. All tests default to dry-run because of errors in qemu.cfg
>
> error: qemu.cfg:81: execute failed: qemu-system-i386 -m 128 -boot b -hda
> /home/cpod/development/rtems/test/rtems-tools/tester/rtems/testing/coverage/rtems-boot.img
> -no-reboot -serial null -serial mon:stdio -nographic -append
> "--console=com1;boot;" -kernel
> /home/cpod/development/rtems/pc386/i386-rtems4.12/c/pc386/testsuites/samples/unlimited/unlimited.exe
> -exec-trace coverage/unlimited.exe.cov: exit-code:2
> warning: switched to dry run due to errors
>
> The exit code I believe refers to 'no such file or directory'. In qemu.cfg
> the line is:
>
> %execute %{qemu_cmd} %{qemu_opts} -kernel %{test_executable} %{coverage_arg}
>
> It's a bit tricky to trace those macros back to different files and see what
> they have. Is there any way to just print those out when it runs so I can
> take a look at them.
>
> I tried %print %{qemu_cmd} and  %echo %{qemu_cmd}. Is there any way to do
> this in a config file?
>
> Thanks,
>
> Cillian.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel



More information about the devel mailing list