tests using FP specifiers in prints
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Feb 8 15:13:18 UTC 2018
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_putc(&rtems_test_printer);
testsuites/samples/loopback/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/samples/paranoia/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/samples/hello/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/samples/capture/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/benchmarks/linpack/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/benchmarks/whetstone/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/benchmarks/dhrystone/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/libtests/mathl/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/libtests/mathf/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/libtests/complex/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/libtests/capture01/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/libtests/math/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/smptests/smpmigration01/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/smptests/smpopenmp01/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
testsuites/sptests/spconsole01/init.c:
rtems_print_printer_fprintf_putc(&rtems_test_printer);
>
> 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.
More information about the devel
mailing list