Changeset 2046


Ignore:
Timestamp:
Jun 17, 2005, 7:01:53 AM (20 years ago)
Author:
bird
Message:

Porting to FreeBSD 64-bit

Location:
trunk/src/libctests/glibc
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/Makefile

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r2045 r2046  
    5151ifeq ($(TARGET),bsd)
    5252SKIPPED    := \
     53        argp/tst-argp1.c \
     54        argp/argp-test.c \
     55        \
     56        assert/test-assert-perr.c \
     57        \
     58        crypt/cert.c \
     59        \
     60        iconv/tst-iconv1.c \
     61        iconv/tst-iconv2.c \
     62        iconv/tst-iconv3.c \
     63        iconv/tst-iconv5.c \
     64        \
     65        inet/tst-ether_aton.c \
     66        \
     67        intl/tst-ngettext.c \
     68        \
    5369        string/test-mempcpy.c \
    5470        string/test-stpncpy.c \
    5571        string/tst-bswap.c \
    5672        string/tst-strfry.c
    57 EXCEPTIONS :=
     73EXCEPTIONS := \
     74        catgets/test-gencat.c
    5875_TARGET_OK := ok
    5976CFLAGS     += -I sysdeps/unix/bsd -D__BSD__
     
    618635        @echo "* SKIPPING : $1"
    619636        @echo "SKIPPED" > $$@
     637       
     638_TESTS += $(OUTDIR)/$2.result
     639$(eval _$(TEST) += $(OUTDIR)/$2.result)
    620640endef
    621641
  • trunk/src/libctests/glibc/crypt/cert.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    99#include <stdio.h>
    1010#include <stdlib.h>
     11#ifdef __BSD__
     12#include <unistd.h>
     13#else
    1114#include "crypt.h"
     15#endif
    1216
    1317int totfails = 0;
  • trunk/src/libctests/glibc/crypt/md5c-test.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
     1#ifdef __BSD__
     2#include <unistd.h>
     3#else
    14#include <crypt.h>
     5#endif
    26#include <string.h>
    37
  • trunk/src/libctests/glibc/dirent/opendir-tst1.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    2525#include <string.h>
    2626#include <unistd.h>
     27#ifdef __BSD__
     28#include <sys/stat.h>
     29#endif
    2730
    2831/* Name of the FIFO.  */
  • trunk/src/libctests/glibc/inet/bug-if1.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    2222#include <stdio.h>
    2323#include <string.h>
     24#ifdef __BSD__
     25# include <sys/types.h>
     26# include <sys/socket.h>
     27#endif
    2428#include <net/if.h>
    2529
  • trunk/src/libctests/glibc/inet/htontest.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    1919   02111-1307 USA.  */
    2020
     21#ifndef __BSD__
    2122#include <endian.h>
     23#endif
    2224#include <stdio.h>
    2325#include <sys/types.h>
  • trunk/src/libctests/glibc/inet/test-ifaddrs.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    2222#include <stdlib.h>
    2323#include <string.h>
     24#ifdef __BSD__
     25# include <sys/types.h>
     26# include <sys/socket.h>
     27#endif
    2428#include <ifaddrs.h>
    2529#include <netinet/in.h>
  • trunk/src/libctests/glibc/inet/test_ifindex.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    2323#include <stdlib.h>
    2424#include <string.h>
     25#ifdef __BSD__
     26# include <sys/types.h>
     27# include <sys/socket.h>
     28#endif
    2529#include <net/if.h>
    2630
  • trunk/src/libctests/glibc/inet/tst-ntoa.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2045 r2046  
    11#include <stdio.h>
    22#include <string.h>
     3#ifdef __BSD__
     4# include <sys/types.h>
     5# include <sys/socket.h>
     6#endif
    37#include <arpa/inet.h>
    48#include <netinet/in.h>
Note: See TracChangeset for help on using the changeset viewer.