Changeset 9feff78 in rtems for testsuites


Ignore:
Timestamp:
Dec 6, 2018, 7:10:59 PM (12 months ago)
Author:
Shashvat Jain <shashvatjain2002@…>
Branches:
master
Children:
bf763d3e
Parents:
1e455d4
git-author:
Shashvat Jain <shashvatjain2002@…> (12/06/18 19:10:59)
git-committer:
Joel Sherrill <joel@…> (12/06/18 19:10:59)
Message:

psxhdrs:Add POSIX Conformance Test for fmtmsg.h (GCI 2018)

Location:
testsuites/psxtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/Makefile.am

    r1e455d4 r9feff78  
    15741574        psxhdrs/wctype/wctrans_l.c \
    15751575        psxhdrs/wctype/wctype.c \
    1576         psxhdrs/wctype/wctype_l.c \
    1577         psxhdrs/fmtmsg/fmtmsg.c
     1576        psxhdrs/wctype/wctype_l.c
    15781577
    15791578## Not supported by RTEMS, but POSIX API Compliance tests exist.
  • testsuites/psxtests/psxhdrs/fmtmsg/fmtmsg.c

    r1e455d4 r9feff78  
    44 */
    55
    6  /*
    7   *  COPYRIGHT (c) 2018.
    8   *  Shashvat Jain
    9   *
    10   *  Permission to use, copy, modify, and/or distribute this software
    11   *  for any purpose with or without fee is hereby granted.
    12   *
    13   *  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
    14   *  WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
    15   *  WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
    16   *  BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
    17   *  OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
    18   *  WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
    19   *  ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    20   */
     6/*
     7 *  COPYRIGHT (c) 2018.
     8 *  Shashvat Jain
     9 *
     10 *  Permission to use, copy, modify, and/or distribute this software
     11 *  for any purpose with or without fee is hereby granted.
     12 *
     13 *  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
     14 *  WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
     15 *  WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
     16 *  BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
     17 *  OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
     18 *  WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
     19 *  ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
     20 */
    2121
    2222#ifdef HAVE_CONFIG_H
     
    3333  int result;
    3434
    35   result = fmtmsg(MM_PRINT, "warning:implicit variable", MM_ERROR,"Function not defined","Check the user manual","warning:implicit variable:001");
     35  result = fmtmsg(
     36    MM_PRINT,
     37     "warning:implicit variable",
     38     MM_ERROR,
     39     "Function not defined",
     40     "Check the user manual",
     41     "warning:implicit variable:001"
     42  );
    3643
    37   return (result)
     44  return result;
    3845
    3946}
Note: See TracChangeset for help on using the changeset viewer.