Changeset e11d928 in rtems


Ignore:
Timestamp:
Feb 10, 2014, 11:37:26 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
ece9754
Parents:
bab16de2
git-author:
Sebastian Huber <sebastian.huber@…> (02/10/14 11:37:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/12/14 08:18:00)
Message:

testsuites: Add TESTS_USE_PRINTF

Make it possible to use normal printf() if requested to allow output of
floating point numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/support/include/buffer_test_io.h

    rbab16de2 re11d928  
    137137
    138138    #endif
     139
     140#elif defined(TESTS_USE_PRINTF)
     141
     142  #include <stdio.h>
     143  #include <stdlib.h>
     144
     145  #define rtems_test_exit(_s) \
     146    do { \
     147      exit(_s); \
     148    } while (0)
     149
     150  #define FLUSH_OUTPUT() \
     151    do { \
     152      fflush(stdout); \
     153    } while (0)
     154
    139155/*
    140156 *  USE IPRINT
Note: See TracChangeset for help on using the changeset viewer.