diff options
author | Corinna Vinschen <vinschen@redhat.com> | 2006-07-24 11:46:28 +0000 |
---|---|---|
committer | Corinna Vinschen <vinschen@redhat.com> | 2006-07-24 11:46:28 +0000 |
commit | d00662336e5beb37048a8b1bb3b245affdc824f1 (patch) | |
tree | 34a9dcc85d0bfab8cebd3d2e03b9f9040bc442d7 | |
parent | cadfa90a5e50bfbf2251ce753e251332884e6fa3 (diff) | |
download | gdb-d00662336e5beb37048a8b1bb3b245affdc824f1.tar.gz |
* Merge HEAD into cv-branch.
-rw-r--r-- | winsup/ChangeLog | 10 | ||||
-rw-r--r-- | winsup/Makefile.in | 130 | ||||
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 2 | ||||
-rw-r--r-- | winsup/testsuite/ChangeLog | 763 | ||||
-rw-r--r-- | winsup/testsuite/Makefile.in | 173 |
6 files changed, 1079 insertions, 3 deletions
diff --git a/winsup/ChangeLog b/winsup/ChangeLog index 28df2bc2074..eca338152cd 100644 --- a/winsup/ChangeLog +++ b/winsup/ChangeLog @@ -1,4 +1,10 @@ -2006-06-14 Corinna Vinschen <corinna@vinschen.de> +2006-07-23 Christopher Faylor <cgf@timesys.com> + + * Makefile.in: Update copyright. Fix 'check' target so that it will + once-again create a working testsuite directory. Add a comment this + time to explain the unusual behavior. + +2006-07-14 Corinna Vinschen <corinna@vinschen.de> * configure.in: Reenable building the subauth subdir. * configure: Regenerate. @@ -58,7 +64,7 @@ gcc won't be able to find .exp files on other hosts. 2003-07-18 Vaclav Haisman <V.Haisman@sh.cvut.cz> - + * Makefile.common (CFLAGS_COMMON): Remove -march=i386. 2003-07-01 Christopher Faylor <cgf@redhat.com> diff --git a/winsup/Makefile.in b/winsup/Makefile.in new file mode 100644 index 00000000000..61d49d5e3f9 --- /dev/null +++ b/winsup/Makefile.in @@ -0,0 +1,130 @@ +# Makefile.in for windows stuff +# Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006 +# Red Hat, Inc. +# +# This file is part of Cygwin. +# +# This software is a copyrighted work licensed under the terms of the +# Cygwin license. Please consult the file "CYGWIN_LICENSE" for +# details. + +# This makefile requires GNU make. + +SHELL:=@SHELL@ +VPATH:=@srcdir@ +srcdir:=@srcdir@ +objdir:=. + +target_alias:=@target_alias@ +build_alias:=@build_alias@ +host_alias:=@host_alias@ +prefix:=@prefix@ + +program_transform_name:=@program_transform_name@ +exec_prefix:=@exec_prefix@ +bindir:=@bindir@ +libdir:=@libdir@ +ifeq ($(target_alias),$(host_alias)) +ifeq ($(build_alias),$(host_alias)) +tooldir:=$(exec_prefix) +else +tooldir:=$(exec_prefix)/$(target_alias) +endif +else +tooldir:=$(exec_prefix)/$(target_alias) +endif +datadir:=@datadir@ +infodir:=@infodir@ +includedir:=@includedir@ + +INSTALL:=@INSTALL@ +INSTALL_PROGRAM:=@INSTALL_PROGRAM@ +INSTALL_DATA:=@INSTALL_DATA@ + +SUBDIRS=@subdirs@ +INSTALL_SUBDIRS=${patsubst %,install_%,$(SUBDIRS)} +CLEAN_SUBDIRS=${patsubst %,clean_%,$(SUBDIRS)} +ZLIB=${findstring zlib,$(SUBDIRS)} + +.PHONY: all install clean all-info info install-info check \ + $(SUBDIRS) $(INSTALL_SUBDIRS) $(CLEAN_SUBDIRS) + +.SUFFIXES: + +MAKEOVERRIDES_WORKAROUND=${wordlist 2,1,a b c} + +ifneq ($(MAKEOVERRIDES_WORKAROUND),) + override MAKE:=$(MAKE) $(MAKEOVERRIDES) + MAKEOVERRIDES:= + export MAKEOVERRIDES +endif + +all: Makefile $(SUBDIRS) + +install: Makefile CYGWIN_LICENSE $(INSTALL_SUBDIRS) + $(INSTALL_DATA) $(srcdir)/CYGWIN_LICENSE $(prefix)/share/doc/Cygwin/CYGWIN_LICENSE + +clean: $(CLEAN_SUBDIRS) + +all-info: + +install-info: + +info: + +$(SUBDIRS): + @if cd $@ 2>/dev/null; then \ + test "$@" = "mingw" && export DISTCC_HOSTS=localhost;\ + $(MAKE) all || exit 1; \ + fi || exit 0 + +$(INSTALL_SUBDIRS): + @if cd ${patsubst install_%,%,$@} 2>/dev/null; then \ + $(MAKE) install || exit 1; \ + fi || exit 0 + +$(CLEAN_SUBDIRS): + @if cd ${patsubst clean_%,%,$@} 2>/dev/null; then \ + $(MAKE) clean || exit 1; \ + fi || exit 0 + +.PRECIOUS: Makefile + +Makefile: Makefile.in $(srcdir)/configure.in config.status + $(SHELL) config.status + +config.status: configure + $(SHELL) config.status --recheck + +# The below rule is intended to run configure only when "make check" is +# actually specified, i.e., not in a cross-compilation environment. The +# cygwin configuration is copied and modified to ensure that the same configuration +# parameters are passed when the testsuite is configured as when cygwin was configured. +check: cygwin + @if [ -f testsuite/config.status ]; then \ + cd testsuite; \ + else \ + (mkdir testsuite 2>/dev/null || exit 0); \ + cd testsuite; \ + sed -e 's%winsup/cygwin\>%winsup/testsuite%g' ../cygwin/config.status > config.status; \ + chmod a+x config.status; \ + sh ./config.status --recheck; \ + sh ./config.status; \ + fi; \ + $(MAKE) check + +utils: cygwin mingw + +mingw: w32api + +cygwin: w32api + +cygserver: cygwin + +install_utils: cygwin mingw + +install_mingw: w32api + +install_cygwin: w32api + +install_cygserver: cygwin diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b53417d7e6e..9b6a3f20421 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2006-07-23 Christopher Faylor <cgf@timesys.com> + + * include/cygwin/version.h: Bump DLL minor version number to 22. + 2006-07-20 Corinna Vinschen <corinna@vinschen.de> * fhandler.h (class fhandler_socket): Rearrange slightly to keep diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 293e1067173..2924385d465 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -43,7 +43,7 @@ details. */ changes to the DLL and is mainly informative in nature. */ #define CYGWIN_VERSION_DLL_MAJOR 1005 -#define CYGWIN_VERSION_DLL_MINOR 21 +#define CYGWIN_VERSION_DLL_MINOR 22 /* Major numbers before CYGWIN_VERSION_DLL_EPOCH are incompatible. */ diff --git a/winsup/testsuite/ChangeLog b/winsup/testsuite/ChangeLog new file mode 100644 index 00000000000..cc4165fae4a --- /dev/null +++ b/winsup/testsuite/ChangeLog @@ -0,0 +1,763 @@ +2006-07-23 Christopher Faylor <cgf@timesys.com> + + * Makefile.in: Update copyrigh. Remove unused stuff. + +2006-07-17 Christopher Faylor <cgf@timesys.com> + + * Makefile.in: Simplify a little. + +2006-06-12 Pierre Humblet Pierre.Humblet@ieee.org + + * winsup.api/user_malloc.c: New file. + +2006-05-30 Christopher Faylor <cgf@timesys.com> + + * winsup.api/cygload.h: Increase padding to 32768. + +2006-05-24 Christopher Faylor <cgf@timesys.com> + + * configure.in: Update to newer autoconf. + (thanks to Steve Ellcey) + * configure: Regenerate. + * aclocal.m4: New file. + +2006-03-23 Christopher Faylor <cgf@timesys.com> + + * winsup.api/checksignal.c (main): Add test for siginterrupt. + +2006-01-02 Christopher Faylor <cgf@timesys.com> + + * cygload/README: Delete. + * cygload/cygload.cc: Move to winsup.api. Add comments from README. + * cygload/cygload.h: Move to winsup.api. + * cygload/cygload.exp: Move to winsup.api. + * Makefile.in: Remove cygload. + * winsup.api/winsup.exp: If a .exp file is detected, run it rather than + using standard compile. + + * winsup.api/resethand.c (main): Use printf to print status or expect + thinks something is wrong. + +2006-01-01 Christopher Faylor <cgf@timesys.com> + + * winsup.api/resethand.c (main): Remove core dump flag from exit + status. + +2006-01-01 Christopher Faylor <cgf@timesys.com> + + * winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc + complaint. + +2006-01-01 Christopher Faylor <cgf@timesys.com> + + * winsup.api/resethand.c: Use SIGSEGV for the signal to test. + +2006-01-01 Christopher Faylor <cgf@timesys.com> + + * winsup.api/resethand.c: New file. + +2005-12-11 Christopher Faylor <cgf@timesys.com> + + * winsup.api/ltp/dup03.c (cleanup): Fix longstanding off-by-one error + when setting array element to -1. + +2005-06-11 Christopher Faylor <cgf@timesys.com> + + * winsup.api/pthread/cancel2.c: Use explicit initializer for mutex. + * winsup.api/pthread/mutex4.c (main): Ditto. + * winsup.api/pthread/mutex5.c: Reflect change in cygwin default mutex type. + * winsup.api/pthread/mutex6d.c: Ditto. + +2005-06-10 Christopher Faylor <cgf@timesys.com> + + * winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build + since it causes compile failures with gcc 3.4.4. + +2005-06-06 Christopher Faylor <cgf@timesys.com> + + * cygload/cygload.exp: .cpp -> .cc. + +2005-06-06 Max Kaehn <slothman@electric-cloud.com> + + * Makefile.in: Test cygload. + * cygload: New directory. + * cygload/README: New file. + * cygload/Makefile: Ditto. + * cygload/cygload.h: Ditto. + * cygload/cygload.cc: Ditto. + * cygload/cygload.exp: Ditto. + +2005-05-17 Brian Dessent <brian@dessent.net> + + * winsup.api/signal-into-win32-api.c (main): Use 'NULL' instead of '0' + in argument list to avoid compiler warning with gcc4. + * winsup.api/ltp/execle01.c (main): Ditto. + * winsup.api/ltp/execlp01.c (main): Ditto. + * winsup.api/ltp/fcntl07.c (do_exec): Ditto. + * winsup.api/ltp/fcntl07B.c (do_exec): Ditto. + +2005-02-10 Christopher Faylor <cgf@timesys.com> + + * winsup.api/known_bugs.tcl: Remove dup05, fcntl07B, lseek04, select03, + unlink06. + * winsup.api/mmaptest03.c: Make a little more verbose so that it is + easier to figure out where something failed. + +2005-01-09 Christopher Faylor <cgf@timesys.com> + + * cygrun.c (main): Fix exit code so that it reflects UNIX style. + * winsup.api/ltp/fork04.c (setup): Accommodate change in putenv + declaration. + +2004-08-24 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/mmaptest01.c (main): Accomodate 9x memory usage. + +2004-08-24 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/ltp/symlink01.c (do_link): Print inode numbers using %llu + format specifier. + +2004-08-17 Gerd Spalink <Gerd.Spalink@t-online.de> + Pierre Humblet <Pierre.Humblet@ieee.org> + + * devdsp.c: Outputs the names of the main test functions. + (forkrectest): Expect child success. + (forkplaytest): Ditto. + (syncwithchild): Output the child status and the desired value. + (sinegenw): Reduce volume of the beep. + (sinegenb): Ditto. + (dup_test): New test. + +2004-04-13 Gerd Spalink <Gerd.Spalink@t-online.de> + + * winsup.api/devdsp.c (forkrectest): Move synchronization with child + so that test passes also under high CPU load. + (forkplaytest): Ditto. + (abortplaytest): New function to test ioctl code SNDCTL_DSP_RESET. + +2004-04-04 Gerd Spalink <Gerd.Spalink@t-online.de> + + * winsup.api/devdsp.c (ioctltest): Add 2 tests for ioctl codes + SNDCTL_DSP_CHANNELS and SNDCTL_DSP_GETCAPS. + +2004-03-24 Gerd Spalink <Gerd.Spalink@t-online.de> + + * winsup.api/devdsp.c: New file, testing fhandler_dev_dsp code. + * winsup.api/devdsp_okay.h: Ditto. + +2004-03-06 Christopher Faylor <cgf@redhat.com> + + * winsup.api/known_bugs.tcl: Remove mknod01 since mknod now works. + * winsup.api/ltp/mknod01.c: Remove root check when running on cygwin. + +2004-03-04 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/mutex8e.c: New testcase. + * winsup.api/pthread/mutex8n.c: Ditto. + * winsup.api/pthread/mutex8r.c: Ditto. + +2003-12-23 Christopher Faylor <cgf@redhat.com> + + * winsup.api/pthread/rwlock7.c (main): Don't assume that result of rand + operation is non-zero. + +2003-12-01 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10. These + tests had a compatibility bug. + * winsup.api/ltp/fcntl09.c: Don't use F_RDLCK | F_WRLCK but only + F_WRLCK to set a write lock. + * winsup.api/ltp/fcntl10.c: Ditto. + +2003-11-25 Christopher Faylor <cgf@redhat.com> + + * winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works. + +2003-11-20 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/msgtest.c (main): Revert to use the SIGSYS signal handler. + * winsup.api/semtest.c (main): Ditto. + * winsup.api/shmtest.c (main): Ditto. + +2003-11-19 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/msgtest.c: New file derived from FreeBSD, testing + XSI Message Queue support. + * winsup.api/semtest.c: Ditto, testing XSI Semaphore support. + * winsup.api/shmtest.c: Ditto, testing XSI Shared Memory support. + +2003-07-06 Christopher Faylor <cgf@redhat.com> + + * winsup.api/known_bugs.tcl: Remove gethostid01 from list of known + bugs. + +2003-07-06 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Remove .dat files when cleaning. + +2003-07-06 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Remove .d files when cleaning. + +2003-05-09 Corinna Vinschen <corinna@vinschen.de> + + * libltp/include/test.h: Remove gethostid declaration. + +2003-04-08 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/condvar9.c: Fix test. + +2003-03-27 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/rwlock1.c: Remove pthreads-win32 header. + * winsup.api/pthread/rwlock2.c: Ditto. + * winsup.api/pthread/rwlock3.c: Ditto. + * winsup.api/pthread/rwlock4.c: Ditto. + * winsup.api/pthread/rwlock5.c: Ditto. + * winsup.api/pthread/rwlock6.c: Ditto. + +2003-03-27 Brian Ford <ford@vss.fsi.com> + + * winsup.api/pthread/condvar7.c (mythread): Cast + pthread_mutex_unlock argument of pthread_cleanup_push + to void *, preventing a compiler warning / testsuite failure. + * winsup.api/pthread/condvar9.c (mythread): Likewise. + * winsup.api/pthread/rwlock7.c (main): Use ftime instead of + _ftime. + +2003-03-18 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/rwlock1.c: New test. + * winsup.api/pthread/rwlock2.c: Ditto. + * winsup.api/pthread/rwlock3.c: Ditto. + * winsup.api/pthread/rwlock4.c: Ditto. + * winsup.api/pthread/rwlock5.c: Ditto. + * winsup.api/pthread/rwlock6.c: Ditto. + * winsup.api/pthread/rwlock7.c: Ditto. + +2003-03-18 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/condvar7.c: New test. + * winsup.api/pthread/condvar9.c: Ditto. + +2003-03-18 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/mutex1n.c: New test. + * winsup.api/pthread/mutex6n.c: Ditto. + * winsup.api/pthread/mutex7n.c: Ditto. + +2003-03-09 Christopher Faylor <cgf@redhat.com> + + * winsup.api/winsup.exp: Use -nostdinc when compiling. + * Makefile.in: Specifically search compiler include directory since it + is now stripped via -nostdinc. + +2003-03-09 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/ltp/fork10.c (main): Remove non-portable declaration + of lseek. + +2003-03-09 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Use "cygwin0" rather than "new-cygwin" to denote + in-build-tree version of library or dll. + * config/default.exp: Ditto. + * winsup.api/winsup.exp: Ditto. + +2003-03-07 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/known_bugs.tcl: Remove fsync01, setregid01 and setreuid01 + from list of known bugs. + +2003-02-19 Vaclav Haisman <V.Haisman@sh.cvut.cz> + + * winsup.api/crlf.c: Fix C signed/unsigned compare warning. + * winsup.api/mmaptest01.c: Ditto. + * winsup.api/ltp/chmod01.c: Ditto. + * winsup.api/ltp/fork04.c: Ditto. + * winsup.api/ltp/lseek03.c: Ditto. + * winsup.api/ltp/lseek06.c: Ditto. + * winsup.api/ltp/lseek07.c: Ditto. + * winsup.api/ltp/lseek08.c: Ditto. + * winsup.api/ltp/mmap001.c: Ditto. + * winsup.api/ltp/mmap02.c: Ditto. + * winsup.api/ltp/mmap03.c: Ditto. + * winsup.api/ltp/mmap04.c: Ditto. + * winsup.api/ltp/mmap05.c: Ditto. + * winsup.api/ltp/mmap06.c: Ditto. + * winsup.api/ltp/mmap07.c: Ditto. + * winsup.api/ltp/mmap08.c: Ditto. + * winsup.api/ltp/pipe11.c: Ditto. + * winsup.api/ltp/poll01.c: Ditto. + * winsup.api/ltp/sync02.c: Ditto. + * winsup.api/ltp/times03.c: Ditto. + * winsup.api/ltp/umask03.c: Ditto. + * winsup.api/ltp/getpgid01.c: Remove unused obsolete include. + * winsup.api/ltp/getpgid02.c: Ditto. + +2003-02-08 Christopher Faylor <cgf@redhat.com> + + * winsup.api/winsup.exp (ws_spawn): Tweak slightly to work with tcl + 8.4.1. + +2003-02-07 Christopher Faylor <cgf@redhat.com> + + * libltp/lib/parse_opts.c: Deal with C warnings. + * winsup.api/pthread/cancel12.c: Ditto. + * winsup.api/winsup.exp: Don't use -g3. + +2003-02-04 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/cancel11.c: New test. + * winsup.api/pthread/cancel12.c: Ditto. + +2003-01-23 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Don't filter out -g. Actually pass correct CFLAGS to + site.exp. + * winsup.api/winsup.exp: Use -g flag from CFLAGS. + +2003-01-23 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Turn off all optimizations. + * libltp/lib/parse_opts.c (TEST_VALID_ENO): Move define outside of + conditional. + (TEST_ERRNO): Ditto. + (btime): Ditto. + (etime): Ditto. + (tmptime): Ditto. + +2003-01-23 Christopher Faylor <cgf@redhat.com> + + * libltp/include/usctest.h: Add externs to some variables that need it. + * winsup.api/ltp/mmap05.c (main): Make file_content volatile to avoid + optimization glitch. + +2003-01-23 Christopher Faylor <cgf@redhat.com> + + * winsup.api/mmaptest03.c (main): Mark variables as volatile to avoid + optimization induced problems. + +2003-01-23 Christopher Faylor <cgf@redhat.com> + + * Makefile (check): Add cygrun.exe dependency. + +2003-01-23 Christopher Faylor <cgf@redhat.com> + + Perform more C warning fixup on all C source files and headers. + +2003-01-23 Christopher Faylor <cgf@redhat.com> + + * libltp/include/test.h: Fix C warnings. + * winsup.api/checksignal.c: Ditto. + * winsup.api/crlf.c: Ditto. + * winsup.api/devzero.c: Ditto. + * winsup.api/iospeed.c: Ditto. + * winsup.api/mmaptest01.c: Ditto. + * winsup.api/mmaptest02.c: Ditto. + * winsup.api/mmaptest03.c: Ditto. + * winsup.api/mmaptest04.c: Ditto. + * winsup.api/nullgetcwd.c: Ditto. + * winsup.api/sigchld.c: Ditto. + * winsup.api/signal-into-win32-api.c: Ditto. + * winsup.api/systemcall.c: Ditto. + * winsup.api/waitpid.c: Ditto. + * winsup.api/pthread/mainthreadexits.c: Ditto. + * winsup.api/pthread/test.h: Ditto. + * winsup.api/pthread/threadidafterfork.c: Ditto. + + * Makefile.in: Remove cygrun.exe from RUNTIME since it is built here + now. + +2003-01-23 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Use ALL_CFLAGS to build test programs so that correct + libraries and other options are used. + +2003-01-22 Corinna Vinschen <corinna@vinschen.de> + + * cygrun.c: Move here from ../cygwin. + * Makefile.in: Build cygrun.exe. + * winsup.api/winsup.exp: Expect cygrun.exe in $rootme. + +2003-01-21 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Find tcl library in the right place. + +2003-01-21 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/cancel9.c: Make child pid static global. + (main): Wait in mainthread until child process has terminated. + +2003-01-14 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/cancel10.c: New test. + +2003-01-14 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/cancel9.c: New test. + +2003-01-14 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/cancel7.c: New test. + * winsup.api/pthread/cancel8.c: Ditto. + +2003-01-14 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/cancel6.c: New test. + +2003-01-09 Thomas Pfaff <tpfaff@gmx.net> + + * winsup.api/pthread/mutex1d.c: New test. Port from pthreads-win32 + project. + * winsup.api/pthread/mutex1e.c: Ditto. + * winsup.api/pthread/mutex4.c: Ditto. + * winsup.api/pthread/mutex5.c: Ditto. + * winsup.api/pthread/mutex6d.c: Ditto. + * winsup.api/pthread/mutex6e.c: Ditto. + * winsup.api/pthread/mutex7.c: Ditto. + * winsup.api/pthread/mutex7d.c: Ditto. + * winsup.api/pthread/mutex7e.c: Ditto. + * winsup.api/pthread/mutex7r.c: Ditto. + +2002-11-25 Robert Collins <rbtcollins@hotmail.com> + + * readme: Document running portions of the test suite (Thanks Egor!). + * winsup.api/pthread/mainthreadexits.c: New file, derived from + Thomas Pfaff's test cases. + * winsup.api/pthread/threadidafterfork.c: Ditto. + +2002-08-25 Christopher Faylor <cgf@redhat.com> + + * Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, + where appropriate. + * winsup.api/winsup.exp: Use -nodefaultlibs when linking executable to + avoid potentially linking installed dll. + +2002-07-06 Christopher Faylor <cgf@redhat.com> + + * testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so + windows.h will be found. + +2002-07-04 Egor Duda <deo@logos-m.ru> + + * winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32 + project. + * winsup.api/pthread/cancel2.c: Ditto. + * winsup.api/pthread/cancel3.c: Ditto. + * winsup.api/pthread/cancel4.c: Ditto. + * winsup.api/pthread/cancel5.c: Ditto. + +2002-07-03 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Eliminate unneeded Makefile recreation rule. + +2002-02-27 Christopher Faylor <cgf@redhat.com> + + * winsup.api/systemcall.c (main): Ensure that stdin is redirected. + +2001-11-18 Egor Duda <deo@logos-m.ru> + + * winsup.api/pthread/condvar3_1.c: Fix debugging output. + +2001-11-15 Egor Duda <deo@logos-m.ru> + + * winsup.api/pthread/: New directory. Ports of pthread functionality + tests from pthreads-win32 project. + * winsup.api/pthread/test.h: Commmon declaraions for pthread tests. + * winsup.api/pthread/cleanup2.c: New test. + * winsup.api/pthread/cleanup3.c: Ditto. + * winsup.api/pthread/condvar1.c: Ditto. + * winsup.api/pthread/condvar2.c: Ditto. + * winsup.api/pthread/condvar2_1.c: Ditto. + * winsup.api/pthread/condvar3.c: Ditto. + * winsup.api/pthread/condvar3_1.c: Ditto. + * winsup.api/pthread/condvar3_2.c: Ditto. + * winsup.api/pthread/condvar3_3.c: Ditto. + * winsup.api/pthread/condvar4.c: Ditto. + * winsup.api/pthread/condvar5.c: Ditto. + * winsup.api/pthread/condvar6.c: Ditto. + * winsup.api/pthread/condvar8.c: Ditto. + * winsup.api/pthread/count1.c: Ditto. + * winsup.api/pthread/create1.c: Ditto. + * winsup.api/pthread/create2.c: Ditto. + * winsup.api/pthread/equal1.c: Ditto. + * winsup.api/pthread/exit1.c: Ditto. + * winsup.api/pthread/exit2.c: Ditto. + * winsup.api/pthread/exit3.c: Ditto. + * winsup.api/pthread/inherit1.c: Ditto. + * winsup.api/pthread/join0.c: Ditto. + * winsup.api/pthread/join1.c: Ditto. + * winsup.api/pthread/join2.c: Ditto. + * winsup.api/pthread/mutex1.c: Ditto. + * winsup.api/pthread/mutex1r.c: Ditto. + * winsup.api/pthread/mutex2.c: Ditto. + * winsup.api/pthread/mutex3.c: Ditto. + * winsup.api/pthread/mutex6r.c: Ditto. + * winsup.api/pthread/once1.c: Ditto. + * winsup.api/pthread/priority1.c: Ditto. + * winsup.api/pthread/priority2.c: Ditto. + * winsup.api/pthread/self1.c: Ditto. + * winsup.api/pthread/self2.c: Ditto. + * winsup.api/pthread/tsd1.c: Ditto. + +2001-11-08 Corinna Vinschen <corinna@vinschen.de> + + * checksignal.c: New testcase. + +2001-11-04 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Oops. Revert previous change. Add Makefile/Makefile.in + dependency. + +2001-11-04 Christopher Faylor <cgf@redhat.com> + + * Makefile.in: Add check target. + +2001-11-02 Egor Duda <deo@logos-m.ru> + + * libltp/lib/forker.c: Include proper header to avoid compiler + warning. + +2001-10-29 Egor Duda <deo@logos-m.ru> + + * winsup.api/ltp/stat03.c: Supress compiler warning. + +2001-10-29 Egor Duda <deo@logos-m.ru> + + * winsup.api/signal-into-win32-api.c: Supress compiler warning. + +Mon Oct 8 14:15:00 2001 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/mmaptest01.c: Add several tests on mmaps. Use libltp. + * winsup.api/winsup.exp: Link all tests agains libltp. + +Fri Oct 5 11:15:55 2001 Christopher Faylor <cgf@cygnus.com> + + * winsup.api/nullgetcwd.c: New file. Check that NULL first argument to + getcwd works. + +Thu Oct 4 22:47:51 2001 Christopher Faylor <cgf@cygnus.com> + + * winsup.api/systemcall.c (main): Change some messages for clarity. + +Thu Oct 4 22:19:39 2001 Christopher Faylor <cgf@cygnus.com> + + * winsup.api/systemcall.c: New file. Check for system call problems. + +2001-09-20 Egor Duda <deo@logos-m.ru> + + * libltp/lib/get_high_address.c (get_high_address): Get inaccessible + address more robustly. + * winsup.api/ltp/stat06.c (high_address_setup): Use generic function + from ltp library to obtain inaccessible address. + +2001-09-15 Egor Duda <deo@logos-m.ru> + + * winsup.api/ltp/sbrk01.c (main): Force output at startup to + make sure that stdio file buffer get allocated. + * winsup.api/ltp/stat06.c (high_address_setup): On cygwin, area + after sbrk(0) may be available, use 0xffff0000 as "high address". + * winsup.api/ltp/symlink01.c: Perform all tests. Mark those tests that + don't work on cygwin with '-1'. Close open files so that temporary + directory can be deleted on exit. + * winsup.api/ltp/vfork01.c: New test. + +2001-09-13 Egor Duda <deo@logos-m.ru> + + * winsup.api/winsup.exp: Run only selected test if environment + variable CYGWIN_TESTSUITE_TESTS is set. Use its value as regular + expression to filter test names. + * winsup.api/ltp/symlink01.c (creat_path_max): Provide explicit + buffer to getcwd to conform to standards and avoid memory leak. + (do_chdir): Ditto. + +2001-09-13 Egor Duda <deo@logos-m.ru> + + * libltp/lib/tst_sig.c: Pass SIGSEGV to application to consider + whether it's expected or not. + * winsup.api/known_bugs.tcl: lseek10 is known to fail because mknod + is not implemented. + * winsup.api/ltp/rename02.c: Fix formatting. + * libltp/lib/libtestsuite.c: New file. + * winsup.api/signal-into-win32-api.c: New test. + * winsup.api/ltp/access04.c: Ditto. + * winsup.api/ltp/access05.c: Ditto. + * winsup.api/ltp/alarm07.c: Ditto. + * winsup.api/ltp/chdir04.c: Ditto. + * winsup.api/ltp/chmod01.c: Ditto. + * winsup.api/ltp/close01.c: Ditto. + * winsup.api/ltp/close02.c: Ditto. + * winsup.api/ltp/creat01.c: Ditto. + * winsup.api/ltp/creat03.c: Ditto. + * winsup.api/ltp/exit01.c: Ditto. + * winsup.api/ltp/exit02.c: Ditto. + * winsup.api/ltp/fchdir01.c: Ditto. + * winsup.api/ltp/fchdir02.c: Ditto. + * winsup.api/ltp/fork02.c: Ditto. + * winsup.api/ltp/fork03.c: Ditto. + * winsup.api/ltp/fork06.c: Ditto. + * winsup.api/ltp/fork07.c: Ditto. + * winsup.api/ltp/fork09.c: Ditto. + * winsup.api/ltp/fork10.c: Ditto. + * winsup.api/ltp/fork11.c: Ditto. + * winsup.api/ltp/fstat02.c: Ditto. + * winsup.api/ltp/fstat03.c: Ditto. + * winsup.api/ltp/fstat04.c: Ditto. + * winsup.api/ltp/ftruncate01.c: Ditto. + * winsup.api/ltp/ftruncate02.c: Ditto. + * winsup.api/ltp/ftruncate03.c: Ditto. + * winsup.api/ltp/getgid02.c: Ditto. + * winsup.api/ltp/getgid03.c: Ditto. + * winsup.api/ltp/getpgid01.c: Ditto. + * winsup.api/ltp/getpgid02.c: Ditto. + * winsup.api/ltp/getpid02.c: Ditto. + * winsup.api/ltp/getppid02.c: Ditto. + * winsup.api/ltp/getuid02.c: Ditto. + * winsup.api/ltp/getuid03.c: Ditto. + * winsup.api/ltp/kill01.c: Ditto. + * winsup.api/ltp/kill02.c: Ditto. + * winsup.api/ltp/kill03.c: Ditto. + * winsup.api/ltp/kill04.c: Ditto. + * winsup.api/ltp/lseek06.c: Ditto. + * winsup.api/ltp/lseek07.c: Ditto. + * winsup.api/ltp/lseek08.c: Ditto. + * winsup.api/ltp/lseek09.c: Ditto. + * winsup.api/ltp/lseek10.c: Ditto. + * winsup.api/ltp/mmap02.c: Ditto. + * winsup.api/ltp/mmap03.c: Ditto. + * winsup.api/ltp/mmap04.c: Ditto. + * winsup.api/ltp/mmap05.c: Ditto. + * winsup.api/ltp/mmap06.c: Ditto. + * winsup.api/ltp/mmap07.c: Ditto. + * winsup.api/ltp/mmap08.c: Ditto. + * winsup.api/ltp/munmap01.c: Ditto. + * winsup.api/ltp/munmap02.c: Ditto. + * winsup.api/ltp/open02.c: Ditto. + * winsup.api/ltp/pipe01.c: Ditto. + * winsup.api/ltp/pipe08.c: Ditto. + * winsup.api/ltp/pipe09.c: Ditto. + * winsup.api/ltp/pipe10.c: Ditto. + * winsup.api/ltp/pipe11.c: Ditto. + * winsup.api/ltp/poll01.c: Ditto. + * winsup.api/ltp/read04.c: Ditto. + * winsup.api/ltp/readlink01.c: Ditto. + * winsup.api/ltp/readlink03.c: Ditto. + * winsup.api/ltp/rename01.c: Ditto. + * winsup.api/ltp/rename08.c: Ditto. + * winsup.api/ltp/rename10.c: Ditto. + * winsup.api/ltp/rmdir01.c: Ditto. + * winsup.api/ltp/stat01.c: Ditto. + * winsup.api/ltp/stat02.c: Ditto. + * winsup.api/ltp/stat03.c: Ditto. + * winsup.api/ltp/symlink03.c: Ditto. + * winsup.api/ltp/symlink04.c: Ditto. + * winsup.api/ltp/symlink05.c: Ditto. + * winsup.api/ltp/sync02.c: Ditto. + * winsup.api/ltp/time02.c: Ditto. + * winsup.api/ltp/times02.c: Ditto. + * winsup.api/ltp/times03.c: Ditto. + * winsup.api/ltp/truncate01.c: Ditto. + * winsup.api/ltp/truncate02.c: Ditto. + * winsup.api/ltp/umask02.c: Ditto. + * winsup.api/ltp/umask03.c: Ditto. + * winsup.api/ltp/wait401.c: Ditto. + * winsup.api/ltp/wait402.c: Ditto. + * winsup.api/ltp/write02.c: Ditto. + * winsup.api/ltp/write03.c: Ditto. + +2001-09-09 Egor Duda <deo@logos-m.ru> + + * winsup.api/ltp/dup03.c: New test. + * winsup.api/ltp/lseek03.c: Ditto. + * winsup.api/ltp/mmap001.c: Ditto. + * winsup.api/ltp/read01.c: Ditto. + * winsup.api/ltp/readdir01.c: Ditto. + * winsup.api/ltp/rmdir05.c: Ditto. + * winsup.api/ltp/sbrk01.c: Ditto. + * winsup.api/ltp/select02.c: Ditto. + * winsup.api/ltp/select03.c: Ditto. + * winsup.api/ltp/signal03.c: Ditto. + * winsup.api/ltp/stat06.c: Ditto. + * winsup.api/ltp/unlink08.c: Ditto. + * winsup.api/known_bugs.tcl: Update to reflect new test's known + failures. + * winsup.api/winsup.exp: Don't delete executable in case of + unexpected pass, as well as in case of unexpected failure. + * README: Update paragraph about expected failures. + +2001-05-21 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/mmaptest01.c: Add log output. + * winsup.api/mmaptest02.c: Write log output to stdout. + * winsup.api/mmaptest03.c: Ditto. + +2001-05-15 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/winsup.exp: Force linking all tests against binmode.o. + +2001-04-27 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/mmaptest04.c: Take care for binmode explicitely. + +2001-04-19 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/mmaptest02.c: New test. + * winsup.api/mmaptest03.c: Ditto. + * winsup.api/mmaptest04.c: Ditto. + +2001-04-03 Corinna Vinschen <corinna@vinschen.de> + + * winsup.api/mmaptest01.c: New test. + +2001-03-10 Egor Duda <deo@logos-m.ru> + + * winsup.api/ltp/access01.c: Avoid compilation error if X_OK + isn't declared as a constant. + +2001-03-09 Egor Duda <deo@logos-m.ru> + + * config/default.exp: Remove unneeded debugging output. + * Makefile.in: Use correct path to find dejagnu in local tree. + +2000-09-06 Egor Duda <deo@logos-m.ru> + + Add 'const' qualifiers where needed to avoid compiler warnings. + * libltp/lib/tst_sig.c (tst_sig): Don't attempt to cleanup on + fatal errors. + * libltp/lib/parse_opts.c (parse_opts): Initialize allocated + string to prevent heap corruption. + +2000-09-04 Egor Duda <deo@logos-m.ru> + + * Makefile.in: Always add libltp headers directory to headers + search path. + +2000-09-02 Egor Duda <deo@logos-m.ru> + + * moved here everything from cygwin/testsuite/ + * configure.in: New file + * configure: New file, generated from configure.in + with autoconf 2.13 + * Makefile.in: New file + * libltp/: New directory. Contains a support library + and headers for tests in winsup.api/ltp/ + * config/default.exp: Print value of CYGWIN environment + variable when test completed + * winsup.api/samples/xf-sample-fail.c renamed to + winsup.api/samples/sample-fail.c + * winsup.api/samples/xf-sample-miscompile.c renamed to + winsup.api/samples/sample-miscompile.c + * winsup.api/known_bugs.tcl: New file. + * winsup.api/winsup.exp: Xfail test if its name is in + list from known_bugs.tcl + * winsup.api/winsup.exp: Don't stop if compiled test executable + can't be deleted + * winsup.api/winsup.exp: If in verbose mode, write test output + to <testname>.log + * winsup.api/ltp/: New directory. Contains cygwin port of testsuite + from Linux Testing Project + * winsup.api/sigchld.c: New file. Test if process recieves SIGCHLD + signal when its child terminates. + * winsup.api/waitpid.c: New file. Test if waitpid function works diff --git a/winsup/testsuite/Makefile.in b/winsup/testsuite/Makefile.in new file mode 100644 index 00000000000..da7c5609400 --- /dev/null +++ b/winsup/testsuite/Makefile.in @@ -0,0 +1,173 @@ +# Makefile.in for Cygwin's testsuite. +# Copyright 2000, 2001, 2002, 2003, 2005, 2006 Red Hat, Inc. +# +# This file is part of Cygwin. +# +# This software is a copyrighted work licensed under the terms of the +# Cygwin license. Please consult the file "CYGWIN_LICENSE" for +# details. + +# This makefile requires GNU make. + +SHELL:=@SHELL@ +srcdir:=@srcdir@ +objdir:=. +libltp_srcdir=$(srcdir)/libltp + +VPATH:=$(srcdir):$(libltp_srcdir)/lib + +target_alias:=@target_alias@ +build_alias:=@build_alias@ +host_alias:=@host_alias@ +prefix:=@prefix@ + +program_transform_name:=@program_transform_name@ +exec_prefix:=@exec_prefix@ +bindir:=@bindir@ +libdir:=@libdir@ +ifeq ($(target_alias),$(host_alias)) +ifeq ($(build_alias),$(host_alias)) +tooldir:=$(exec_prefix) +else +tooldir:=$(exec_prefix)/$(target_alias) +endif +else +tooldir:=$(exec_prefix)/$(target_alias) +endif +datadir:=@datadir@ +infodir:=@infodir@ +includedir:=@includedir@ + +TESTSUP_INCLUDES:=-I$(libltp_srcdir)/include + +# +# --enable options from configure +# + +CC:=@CC@ +# FIXME: Which is it, CC or CC_FOR_TARGET? +CC_FOR_TARGET:=$(CC) +ifneq (,$(CFLAGS)) + override CFLAGS+= -MD $(TESTSUP_INCLUDES) +else + CFLAGS:=@CFLAGS@ -MD $(TESTSUP_INCLUDES) +endif + +AR:=@AR@ +AR_FLAGS:=qv + +# +# Include common definitions for winsup directory +# +include $(srcdir)/../Makefile.common + +override CC:=$(CC) $(GCC_INCLUDE) +export CC + +RUNTESTFLAGS = + +ifdef VERBOSE + RUNTESTFLAGS = -v +endif + +RUNTIME=$(cygwin_build)/cygwin0.dll $(cygwin_build)/libcygwin0.a + +TESTSUP_LIB_NAME:=libltp.a +TESTSUP_OFILES:=${sort ${addsuffix .o,${basename ${notdir ${wildcard $(libltp_srcdir)/lib/*.c}}}}} + +override ALL_CFLAGS:=${filter-out -O%,$(ALL_CFLAGS)} +override COMPILE_CC:=${filter-out -O%,$(COMPILE_CC)} +override CFLAGS:=${filter-out -O%,$(CFLAGS)} +export CFLAGS + +.PHONY: all force dll_ofiles install all_target install_target install_host + +.SUFFIXES: +.SUFFIXES: .c .cc .def .a .o .d + +all: $(TESTSUP_LIB_NAME) + +force: + +install: + +install_host: + +clean: + -rm -f *.o *.dll *.a *.exp junk *.bak *.base *.exe testsuite/* *.d *.dat + +maintainer-clean realclean: clean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + -rm -fr configure + +# Rule to build libltp.a + +$(TESTSUP_LIB_NAME): $(TESTSUP_OFILES) + $(AR) rcv temp.a $(TESTSUP_OFILES) + mv temp.a $(TESTSUP_LIB_NAME) + +$(RUNTIME) : $(cygwin_build)/Makefile + @$(MAKE) --no-print-dir -C $(@D) $(@F) + +# Rule to make stub library used by "make check" + +# + +# These targets are for the dejagnu testsuites. The file site.exp +# contains global variables that all the testsuites will use. + +# Set to $(target_alias)/ for cross. +target_subdir = @target_subdir@ + +site.exp: ./config.status Makefile + @echo "Making a new config file..." + -@rm -f ./tmp? + @touch site.exp + -@mv site.exp site.bak + @echo "## these variables are automatically generated by make ##" > ./tmp0 + @echo "# Do not edit here. If you wish to override these values" >> ./tmp0 + @echo "# add them to the last section" >> ./tmp0 + @echo "set rootme \"`pwd`\"" >> ./tmp0 + @echo "set runtime_root \"\$$rootme/../cygwin\"" >> ./tmp0 + @echo "set srcdir \"`cd ${srcdir}; pwd`\"" >> ./tmp0 + @echo "set host_triplet $(host_canonical)" >> ./tmp0 + @echo "set build_triplet $(build_canonical)" >> ./tmp0 + @echo "set target_triplet $(target)" >> ./tmp0 + @echo "set target_alias $(target_alias)" >> ./tmp0 + @echo "set CC \"$(CC)\"" >> ./tmp0 +# CFLAGS is set even though it's empty to show we reserve the right to set it. + @echo "set CFLAGS \"$(ALL_CFLAGS)\"" >> ./tmp0 + echo "set tmpdir $(objdir)/testsuite" >> ./tmp0 + @echo "set ltp_includes \"$(libltp_srcdir)/include\"" >> ./tmp0 + @echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0 + @cat ./tmp0 > site.exp + @cat site.bak | sed \ + -e '1,/^## All variables above are.*##/ d' >> site.exp + -@rm -f ./tmp? + +testsuite/site.exp: site.exp + if [ -d testsuite ]; then \ + true; \ + else \ + mkdir testsuite; \ + fi + rm -rf testsuite/site.exp + cp site.exp testsuite/site.exp + +# Note: we set the PATH so that we can pick up cygwin0.dll + +check: $(TESTSUP_LIB_NAME) $(RUNTIME) cygrun.exe testsuite/site.exp + cd testsuite; \ + export EXPECT=expect ; \ + if [ -f $(bupdir2)/expect/expect ] ; then \ + TCL_LIBRARY=`cd .. ; cd ${srcdir}/../../tcl/library ; pwd` ; \ + export TCL_LIBRARY ; fi ; \ + PATH=$(bupdir)/cygwin:$${PATH} ;\ + runtest --tool winsup $(RUNTESTFLAGS) ;\ + +cygrun.o: cygrun.c + $(CC) $(MINGW_CFLAGS) -o $@ -c $< + +cygrun.exe : cygrun.o + $(CC) ${MINGW_LDFLAGS} -mno-cygwin -o $@ $< |