- Timestamp:
- Jul 3, 2005, 5:48:26 AM (20 years ago)
- Location:
- trunk/src/libctests/glibc
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libctests/glibc/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.13
to1.14
r2175 r2176 9 9 # 10 10 OUTDIR = ./out 11 ABSOUTDIR = $(CURDIR)/out 11 12 TS = $(shell date '+"%Y-%m-%d-%H-%M-%S"') 12 13 LOG = $(OUTDIR)/$(1)-$(TS).log … … 47 48 -DHAVE_64BIT_FILEIO_TYPES \ 48 49 -DHAVE_SWPRINTF \ 49 -DHAVE_RPC_NETDB_H 50 -DHAVE_RPC_NETDB_H \ 51 -DHAVE_NL_LANGINFO_EXTENTIONS 50 52 endif 51 53 52 54 ifeq ($(TARGET),innoteklibc) 53 55 SKIPPED := \ 56 io/test-stat.c \ 57 io/test-stat2.c \ 58 \ 59 login/tst-grantpt.c \ 60 login/tst-utmpx.c \ 61 \ 54 62 malloc/tst-mallocstate.c \ 55 63 \ … … 153 161 posix/tst-pcre.c \ 154 162 misc/tst-tsearch.c \ 155 misc/tst-dirname.c 163 misc/tst-dirname.c \ 164 io/bug-ftw4.c 156 165 157 166 # NOTES: … … 164 173 # posix/tst-fnmatch.c: This too! 165 174 # misc/tst-tsearch.c: This really needs looking at on BSD. 175 # io/bug-ftw4.c: open("dir") 166 176 167 177 CFLAGS += -Zomf -g -I sysdeps/os2 \ … … 313 323 io/tst-statvfs.c 314 324 # todo io/ftwtest.sh 325 io/bug-ftw2.c_DIR = ./io 315 326 316 327 LIBIO := \ … … 761 772 define def_simple 762 773 774 $(eval _EXEC := $(strip $(if $($1_DIR),\ 775 cd $($(1)_DIR) && LC_ALL=C $($1_ENVS) $(ABSOUTDIR)/$(2).exe $($1_ARGS),\ 776 cd $(dir $(OUTDIR)/$2) && LC_ALL=C $($1_ENVS) $(notdir $2).exe $($1_ARGS)))) 777 763 778 $(OUTDIR)/$2.result: $1 $(OUTDIR)/$(dir $1).dir_created $($(1)_DEPS) 764 779 @echo "########## $1"; \ 765 780 echo "## BUILDING: $$(CC) $$(CFLAGS) $$(LDFLAGS) -o $(OUTDIR)/$2.exe $($(1)_CFLAGS) $($(1)_LDFLAGS) $$<"; \ 766 781 if $$(CC) $$(CFLAGS) $$(LDFLAGS) -o $(OUTDIR)/$2.exe $($(1)_CFLAGS) $($(1)_LDFLAGS) $$<; then \ 767 echo "## RUNNING : ( cd $$(dir $$@) && LC_ALL=C $($1_ENVS) $(notdir $2).exe $($1_ARGS)) $(if $($(1)_INPUT), < $($(1)_INPUT),)"; \768 if ( cd $$(dir $$@) && LC_ALL=C $($1_ENVS) $(notdir $2).exe $($1_ARGS)) $(if $($(1)_INPUT), < $($(1)_INPUT),); then\782 echo "## RUNNING : ( $(_EXEC) )$(if $($(1)_INPUT), < $($(1)_INPUT))"; \ 783 if ( $(_EXEC) )$(if $($(1)_INPUT), < $($(1)_INPUT)); then \ 769 784 echo OK > $$@; \ 770 785 printf "########## %-26s - SUCCESS\n" "$1"; \ … … 793 808 @printf "########## %-26s - SKIPPED\n" "$1"; \ 794 809 echo "SKIPPED" > $$@ 795 810 811 $2: $(OUTDIR)/$2.result 812 @ 813 796 814 _TESTS += $(OUTDIR)/$2.result 797 815 $(eval _$(TEST) += $(OUTDIR)/$2.result) -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/libctests/glibc/io/bug-ftw4.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2175 r2176 26 26 #include <sys/stat.h> 27 27 #include <unistd.h> 28 29 #ifndef HAVE_64BIT_FILEIO_TYPES 30 #define ftw64 ftw 31 #define stat64 stat 32 #endif 28 33 29 34 static int cb_called; -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/libctests/glibc/io/ftwtest.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2175 r2176 7 7 #include <unistd.h> 8 8 #include <sys/stat.h> 9 #ifdef FTW_CONTINUE 10 #define FTW_CONTINUE 0 11 #endif 12 #ifdef FTW_STOP 13 #define FTW_STOP 1 14 #endif 15 9 16 10 17 … … 55 62 printf (", level = %d\n", f->level); 56 63 64 #ifdef FTW_ACTIONRETVAL 57 65 if (skip_siblings && strcmp (name + f->base, skip_siblings) == 0) 58 66 return FTW_SKIP_SIBLINGS; … … 60 68 if (skip_subtree && strcmp (name + f->base, skip_subtree) == 0) 61 69 return FTW_SKIP_SUBTREE; 70 #endif 62 71 63 72 return do_exit ? 26 : FTW_CONTINUE; … … 88 97 if (skip_subtree || skip_siblings) 89 98 { 99 #ifdef FTW_ACTIONRETVAL 90 100 flag |= FTW_ACTIONRETVAL; 101 #endif 91 102 if (do_exit) 92 103 { -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/libctests/glibc/io/test-lfs.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2175 r2176 27 27 #include <errno.h> 28 28 #include <sys/resource.h> 29 #ifndef HAVE_64BIT_FILEIO_TYPES 30 #define getrlimit64 getrlimit 31 #define setrlimit64 setrlimit 32 #define mkstemp64 mkstemp 33 #define fopen64 fopen 34 #define fstat64 fstat 35 #define stat64 stat 36 #define fseeko64 fseeko 37 #define ftello64 ftello 38 #define lseek64 lseek 39 #define rlimit64 rlimit 40 #define off64_t off_t 41 #endif 42 29 43 30 44 /* Prototype for our test function. */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/libctests/glibc/io/test-utime.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2175 r2176 51 51 /* Test utime with arg */ 52 52 ut.actime = 500000000; 53 ut.modtime = 50000000 1;53 ut.modtime = 500000002; /* OS/2 have a two-second resolution api */ 54 54 if (utime (file, &ut)) 55 55 { -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/libctests/glibc/io/tst-fcntl.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2175 r2176 25 25 #include <unistd.h> 26 26 #include <sys/stat.h> 27 27 #ifndef HAVE_64BIT_FILEIO_TYPES 28 #define stat64 stat 29 #define fstat64 fstat 30 #endif 28 31 29 32 /* Prototype for our test function. */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.