Changeset eedaf9b in rtems


Ignore:
Timestamp:
Feb 11, 2015, 8:00:35 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
86076f3
Parents:
547c2282
git-author:
Joel Sherrill <joel.sherrill@…> (02/11/15 20:00:35)
git-committer:
Joel Sherrill <joel.sherrill@…> (02/12/15 21:23:33)
Message:

psxhdrs: Add tests for <sys/socket.h> API compliance

Location:
testsuites/psxtests
Files:
17 added
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/configure.ac

    r547c2282 reedaf9b  
    2525RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    2626RTEMS_CHECK_CXX(RTEMS_BSP)
    27 
    28 AM_CONDITIONAL([HAS_NETWORKING],[test x"$HAS_NETWORKING" = x"yes"])
     27RTEMS_CHECK_CPUOPTS([RTEMS_POSIX_API])
     28RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING])
     29
     30AM_CONDITIONAL(HAS_CXX,test "$rtems_cv_HAS_CPLUSPLUS" = "yes")
     31AM_CONDITIONAL([HAS_NETWORKING],test "$rtems_cv_RTEMS_NETWORKING" = "yes")
    2932AM_CONDITIONAL([HAS_CPLUSPLUS],[test x"$HAS_CPLUSPLUS" = x"yes"])
    3033
  • testsuites/psxtests/psxhdrs/Makefile.am

    r547c2282 reedaf9b  
    2323    timer02.c timer03.c timer04.c timer05.c timer06.c timer07.c
    2424
     25if HAS_NETWORKING
     26# methods in <sys/socket.h>
     27lib_a_SOURCES += sys/socket/accept.c
     28lib_a_SOURCES += sys/socket/bind.c
     29lib_a_SOURCES += sys/socket/connect.c
     30lib_a_SOURCES += sys/socket/getpeername.c
     31lib_a_SOURCES += sys/socket/getsockname.c
     32lib_a_SOURCES += sys/socket/getsockopt.c
     33lib_a_SOURCES += sys/socket/listen.c
     34lib_a_SOURCES += sys/socket/recv.c
     35lib_a_SOURCES += sys/socket/recvfrom.c
     36lib_a_SOURCES += sys/socket/recvmsg.c
     37lib_a_SOURCES += sys/socket/send.c
     38lib_a_SOURCES += sys/socket/sendmsg.c
     39lib_a_SOURCES += sys/socket/sendto.c
     40lib_a_SOURCES += sys/socket/setsockopt.c
     41lib_a_SOURCES += sys/socket/shutdown.c
     42lib_a_SOURCES += sys/socket/socket.c
     43lib_a_SOURCES += sys/socket/socketpair.c
     44endif
     45
    2546include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2647include $(top_srcdir)/../automake/compile.am
Note: See TracChangeset for help on using the changeset viewer.