Ignore:
Timestamp:
Jul 1, 2005, 6:20:01 AM (20 years ago)
Author:
bird
Message:

libc adjustments / config.

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.10 to 1.11
    r2134 r2135  
    3232EXPECTED   :=
    3333_TARGET_OK := ok
    34 CFLAGS     += \
    35     -DHAVE_MCHECK_H \
     34CFLAGS     += -D__GLIBC__ \
    3635        -DHAVE___STRTOD_INTERNAL \
    3736        -DHAVE_ASPRINTF \
     
    5453        posix/bug-ga1.c \
    5554        posix/bug-ga2.c \
     55        posix/bug-regex1.c \
     56        posix/bug-regex10.c \
     57        posix/bug-regex13.c \
     58        posix/bug-regex14.c \
     59        posix/bug-regex16.c \
     60        posix/bug-regex17.c \
     61        posix/bug-regex19.c \
     62        posix/bug-regex20.c \
     63        posix/bug-regex22.c \
     64        posix/bug-regex4.c \
     65        posix/bug-regex7.c \
     66        posix/bug-regex8.c \
     67        posix/runtests.c \
    5668        posix/test-vfork.c \
     69        posix/tst-boost.c \
     70        posix/tst-execl2.c \
     71        posix/tst-execle2.c \
     72        posix/tst-execlp2.c \
     73        posix/tst-execv2.c \
     74        posix/tst-execve2.c \
     75        posix/tst-execvp2.c \
     76        posix/tst-execvp3.c \
     77        posix/tst-getaddrinfo.c \
     78        posix/tst-getaddrinfo2.c \
     79        posix/tst-gnuglob.c \
     80        posix/tst-mmap.c \
     81        posix/tst-preadwrite64.c \
     82        posix/tst-rxspencer.c \
     83        posix/tst-truncate64.c \
     84        posix/tst-vfork1.c \
     85    posix/tst-vfork2.c \
    5786        \
    5887        pwd/tst-getpw.c \
     
    6695        stdio-common/tst-printfsz.c \
    6796        stdio-common/tst-swprintf.c \
    68         stdio-common/tstgetln.c \
    6997        \
    7098    stdlib/test-a64l.c \
     
    101129        resolv/tst-aton.c \
    102130        posix/bug-glob1.c \
    103         posix/bug-glob2.c
     131        posix/bug-glob2.c \
     132        posix/bug-regex11.c \
     133        posix/bug-regex15.c \
     134        posix/bug-regex18.c \
     135        posix/bug-regex9.c \
     136        posix/testfnm.c \
     137        posix/tst-chmod.c \
     138        posix/tst-dir.c \
     139        posix/tst-fnmatch.c     \
     140        posix/tst-pcre.c
    104141       
    105142# NOTES:       
     
    108145# stdio-common/tst-sscanf.c:            Is doing some thousand separator and internationalization stuff which we don't implement.
    109146# stdio-common/tstscanf.c:                      two cases of sscan working in three different ways depending on glibc, bsd or libc. cool!
    110        
    111 CFLAGS     += -Zomf -g \
     147# posix/runtests.c:                                     This really needs looking at on BSD.
     148# posix/testfnm.c:                                      This looks bad!
     149# posix/tst-fnmatch.c:                          This too!
     150       
     151CFLAGS     += -Zomf -g -I sysdeps/os2 \
    112152        -DHAVE_STRNLEN \
    113         -DHAVE_MEMPCPY
     153        -DHAVE_MEMPCPY \
     154        -DHAVE_ASPRINTF \
     155        -DHAVE_GETLINE \
     156        -DHAVE_STRCHRNUL \
     157        -DHAVE_RAWMEMCHR \
     158        -DHAVE_MEMRCHR
    114159LDFLAGS    += -Zstack 512
    115160_TARGET_OK := ok
     161
     162posix/runptests.c_ARGS = 15             # expect 15 errors
    116163endif
    117164
     
    448495       
    449496posix/tstgetopt.c_ARGS = -a -b -cfoobar --required foobar --optional=bazbug --none random --col --color --colour
    450 posix/tst-exec.c_ARGS = -- $(OUTDIR)/posix/tst-exec.exe
    451 posix/tst-spawn.c_ARGS = -- $(OUTDIR)/posix/tst-spawn.exe
    452 posix/tst-dir.c_ARGS = `pwd` `cd $(OUTDIR)/$(posix); pwd` `cd $(OUTDIR)/; pwd` $(OUTDIR)/tst-dir.exe
    453 posix/tst-chmod.c_ARGS = `cd posix/; pwd`
     497posix/tst-exec.c_ARGS = -- ./tst-exec.exe --direct --direct --direct
     498posix/tst-spawn.c_ARGS = -- ./tst-spawn.exe --direct --direct --direct
     499posix/tst-dir.c_ARGS = `pwd` `pwd`/$(OUTDIR)/posix `pwd`/$(OUTDIR) `pwd`/$(OUTDIR)/tst-dir.exe
     500posix/tst-chmod.c_ARGS = `pwd`/posix
    454501posix/tst-rxspencer.c_ARGS = --utf8 posix/rxspencer/tests
    455 posix/tst-pcre.c_ARGS = posix/PCRE.tests
    456 posix/tst-boost.c_ARGS = posix/BOOST.tests
     502posix/tst-pcre.c_ARGS = $(CURDIR)/posix/PCRE.tests
     503posix/tst-boost.c_ARGS = $(CURDIR)/posix/BOOST.tests
    457504posix/bug-glob1.c_ARGS = "."
    458505posix/tst-execvp3.c_ARGS = --test-dir="."
Note: See TracChangeset for help on using the changeset viewer.