Changeset 24d0ee57 in rtems for testsuites/fstests


Ignore:
Timestamp:
May 20, 2016, 8:39:50 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
1503c1c3
Parents:
b1860df5
git-author:
Chris Johns <chrisj@…> (05/20/16 08:39:50)
git-committer:
Chris Johns <chrisj@…> (05/25/16 05:47:34)
Message:

cpukit, testsuite: Add rtems_printf and rtems_printer support.

This change adds rtems_printf and related functions and wraps the
RTEMS print plugin support into a user API. All references to the
plugin are removed and replaced with the rtems_printer interface.

Printk and related functions are made to return a valid number of
characters formatted and output.

The function attribute to check printf functions has been added
to rtems_printf and printk. No changes to remove warrnings are part
of this patch set.

The testsuite has been moved over to the rtems_printer. The testsuite
has a mix of rtems_printer access and direct print control via the
tmacros.h header file. The support for begink/endk has been removed
as it served no purpose and only confused the code base. The testsuite
has not been refactored to use rtems_printf. This is future work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/fstests/fsnofs01/init.c

    rb1860df5 r24d0ee57  
    496496static void Init(rtems_task_argument arg)
    497497{
    498   rtems_test_begink();
     498  TEST_BEGIN();
    499499
    500500  test_initial_values();
     
    507507  test_check_access();
    508508
    509   rtems_test_endk();
     509  TEST_END();
    510510  exit(0);
    511511}
Note: See TracChangeset for help on using the changeset viewer.