[RTEMS Project] #3170: Use BSP_output_char via RTEMS printer for test output by default (was: Microzed libtest/block08 fails to print end of test correctly.)

RTEMS trac trac at rtems.org
Fri Oct 27 05:01:07 UTC 2017


#3170: Use BSP_output_char via RTEMS printer for test output by default
------------------------------+--------------------------
 Reporter:  Chris Johns       |       Owner:  Chris Johns
     Type:  defect            |      Status:  assigned
 Priority:  high              |   Milestone:  4.12.0
Component:  unspecified       |     Version:  4.12
 Severity:  critical          |  Resolution:
 Keywords:  zedboard testing  |
------------------------------+--------------------------

Old description:

> The test prints:
> {{{
> ** END OF TEST BLOCK 8 ***
> }}}
>
> The `rtems-test` command marks the result as a failure. There is a single
> `*` missing from the start of the line. I attach the full test trace.

New description:

 Test runs with a interrupt driven console driver result in unreliable test
 outcomes.

 Problem was noticed with test runs on Microzed, for example
 libtest/block08:

 The test prints:
 {{{
 ** END OF TEST BLOCK 8 ***
 }}}

 The `rtems-test` command marks the result as a failure. There is a single
 `*` missing from the start of the line. I attach the full test trace.

--

Comment (by Sebastian Huber):

 If we use BSP_output_char for all tests, then the console driver is not
 tested. We probably need a special test for it.

 We should also remove CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER from all
 other tests.

--
Ticket URL: <http://devel.rtems.org/ticket/3170#comment:20>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list