tests using FP specifiers in prints

Joel Sherrill joel at rtems.org
Thu Feb 8 15:45:55 UTC 2018


On Thu, Feb 8, 2018 at 9:13 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 08/02/18 16:02, Joel Sherrill wrote:
>
>> Hi
>>
>> Jennifer noticed that sp19 prints %g instead of numbers now that
>> we switched to printk for the tests.  I did a quick grep and found these:
>>
>> testsuites$ grep -rl "%g" .
>> ./samples/fileio/init.c
>> ./samples/paranoia/paranoia.c
>> ./sptests/sp19/first.c
>> ./sptests/sp19/fptask.c
>> ./sptests/sp19/fptest.h
>> ./tmtests/tm26/fptest.h
>>
>> Are fileio and paranoia using printf()?
>>
>
> They use:
>
> testsuites/samples/pppd/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/samples/loopback/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/samples/paranoia/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/samples/hello/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/samples/capture/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/benchmarks/linpack/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/benchmarks/whetstone/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/benchmarks/dhrystone/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/libtests/mathl/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/libtests/mathf/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/libtests/complex/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/libtests/capture01/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/libtests/math/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/smptests/smpmigration01/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/smptests/smpopenmp01/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
> testsuites/sptests/spconsole01/init.c: rtems_print_printer_fprintf_pu
> tc(&rtems_test_printer);
>


sp19 and tm26 are not in that list. What about them?


>
>
>> Do we need to eliminate these uses of %g in sptests and tmtests?
>>
>> --joel
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180208/32c862bf/attachment.html>


More information about the devel mailing list