Jon Turney
8de6b180c8
Cygwin: Fix testsuite tmpdir creation with non-default cygdrive prefix
2020-11-14 13:50:55 -05:00
Jon Turney
83d3e454c7
Cygwin: Ensure temporary directory used by tests exists
...
By default, libltp tests will create temporary files in a subdirectory
of /tmp, which will (nowadays) be located relative to the test DLL (by
assuming that it is in /bin). This will evaluate to the directory
$target_builddir/winsup/tmp, which doesn't exist.
The location used for these temporary files can be explicitly controlled
by setting the TDIRECTORY env var. Arrange to set that env var to the
/cygdrive path of a tmp subdirectory of the build directory.
Unfortunately, libltp doesn't clean the temporary directory if
TDIRECTORY is set, and some tests assume they are started in a clean
directory, so we need to do that in tcl.
2020-11-09 08:50:08 -05:00
Jon Turney
09a7bf22cd
Cygwin: Set PATH for tests to pick up cygwin0.dll
...
Set the PATH so that tests can pick up cygwin0.dll. Looks like this was
dropped by accident in 2e488e95 ("Don't rely on in-build tools"), so
restore it as it was prior to 9d89f634.
2020-11-09 08:50:08 -05:00
Jon Turney
cfb3e51ea7
Cygwin: Check exit code of a test, rather than stdout
...
In winsup.exp, don't consider a command failed if it produced any output
(e.g. if the compiler produced warnings). Instead check the exit code.
2020-11-09 08:50:07 -05:00
Jon Turney
fbff9f73b5
Cygwin: Use absolute path to libltp includes
...
Use an absolute path to libltp includes, to allow for the fact that
we'll be compiling tests in a subdirectory.
2020-11-09 08:50:07 -05:00
Jon Turney
70a8dca5b0
Cygiwn: Detect and use MinGW compilers for testsuite wrappers
...
Drop MINGW_FE, which I can't find any trace of, and instead detect and
use MinGW compilers.
This requires adding AC_CANONICAL_TARGET, to set $target_cpu.
2020-11-09 08:50:07 -05:00
Jon Turney
75b2397b62
Cygwin: Define target_builddir autoconf and Makefile variables
...
This is now required as cygwin_build is defined in terms of
target_builddir.
(Note that in other subdirectories, the autoconf variable
target_builddir is AC_SUBST-ed as a side-effect of using a macro from
winsup/acinclude.m4, which is perhaps less than ideal)
2020-11-09 08:50:07 -05:00
Jon Turney
89c5b2144f
Cygwin: Move adding libltp to VPATH after Makefile.common
...
Move adding libltp to the VPATH after Makefile.common, which sets VPATH.
2020-11-09 08:50:07 -05:00
Jon Turney
bc15d0677e
Cygwin: Avoid 'Makefile.in seems to ignore the --datarootdir setting' warning
...
Avoid a 'Makefile.in seems to ignore the --datarootdir setting' warning
when configuring in testsuite directory.
2020-11-09 08:50:07 -05:00
Jon Turney
39575cb8f9
Cygwin: Add rule to testsuite Makefile to regenerate it when needed
2020-11-09 08:50:07 -05:00
Jon Turney
bcbf19b04d
Cygwin: Add testsuite directory to autogen.sh
...
Also remove unneeded aclocal.m4 for an old aclocal version.
2020-11-09 08:50:07 -05:00
Jon Turney
ddbcf815c0
Cygwin: Drop do-nothing install_target target
2020-10-22 07:30:51 -04:00
Jon Turney
fea254f1e3
Cygwin: Drop do-nothing install_host target
...
Drop do-nothing install_host target, which is only used when not
cross-compiling.
2020-10-22 07:30:51 -04:00
Keith Packard
3ed0086d15
Use remove-advertising-clause script to edit BSD licenses
...
This edits licenses held by Berkeley and NetBSD, both of which
have removed the advertising requirement from their licenses.
Signed-off-by: Keith Packard <keithp@keithp.com>
2020-10-14 10:54:10 -04:00
Corinna Vinschen
6e623e9320
Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option
...
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause.
Everything else stays under GPLv3+.
New Linking Exception exempts resulting executables from LGPLv3 section 4.
Add CONTRIBUTORS file to keep track of licensing.
Remove 'Copyright Red Hat Inc' comments.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-06-23 10:09:17 +02:00
Corinna Vinschen
6436024c4c
Replace AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET, fix AC_INIT usage
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-03-30 14:09:19 +02:00
John Hood
313fcaf1bc
* winsup/testsuite/configure: chmod a+x
2016-03-20 15:21:24 +01:00
Corinna Vinschen
3df400dc83
winsup: Move all old CVS Changelogs into CVSChangeLogs.old dir
2016-03-19 13:59:52 +01:00
Corinna Vinschen
9ee2624240
Deprecate all winsup ChangeLog files
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-01-07 21:16:01 +01:00
Jon Turney
e30d78d685
Remove spurious execute permissions from some Cygwin source and text files
...
2015-08-21 Jon Turney <jon.turney@dronecode.org.uk>
* cygwin-cxx.h: Remove execute permissions.
* fenv.cc: Ditto.
* how-startup-shutdown-works.txt: Ditto.
* include/arpa/nameser.h: Ditto.
* include/arpa/nameser_compat.h: Ditto.
* include/fenv.h: Ditto.
* include/resolv.h: Ditto.
* libstdcxx_wrapper.cc: Ditto.
2015-10-27 Jon Turney <jon.turney@dronecode.org.uk>
* winsup.api/signal-into-win32-api.c: Remove execute permissions.
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2015-10-27 16:10:37 +00:00
Corinna Vinschen
7e46c0af62
* configure.ac: Convert to new AC_INIT style.
...
* configure: Regenerate.
2014-08-15 21:24:35 +00:00
Christopher Faylor
d4f4d1d0d6
ChangeLog:
...
2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx>
* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.
cygserver/ChangeLog:
2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx>
* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.
cygwin/ChangeLog:
2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx>
* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.
doc/ChangeLog:
2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx>
* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.
lsaauth/ChangeLog:
2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx>
* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.
testsuite/ChangeLog:
2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx>
* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.
utils/ChangeLog:
2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx>
* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.
2012-11-26 19:50:45 +00:00
Christopher Faylor
2e488e9543
cygwin/ChangeLog:
...
2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx>
* Makefile.in: Use explicit path to mkdir.
lsaauth/ChangeLog:
2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx>
* Makefile.in: Use /bin/mkdir to make directories.
testsuite/ChangeLog:
2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx>
* Makefile.in: Remove old Makefile.common'isms. Don't rely on
in-build tools.
2012-11-23 14:52:07 +00:00
Yaakov Selkowitz
a5fa16e277
* configure: Regenerate.
2012-04-24 08:55:41 +00:00
Corinna Vinschen
654fee7ac5
* libltp/lib/get_high_address.c: Align copyright with upstream.
2011-03-21 15:42:54 +00:00
Christopher Faylor
8a9358d0f7
* Makefile.in: Use utils mingw front-end to generate non-cygwin binary.
2009-11-01 17:22:44 +00:00
Christopher Faylor
f43f75a09d
* Revert erroneous checkin.
2008-11-26 16:42:27 +00:00
Christopher Faylor
9e4051d4b7
fix typo
2006-08-03 03:59:27 +00:00
Christopher Faylor
d9969dfc91
* Makefile.in: Update copyrigh. Remove unused stuff.
2006-07-23 23:28:49 +00:00
Christopher Faylor
e2213b70dd
* Makefile.in: Simplify a little.
2006-07-18 03:24:07 +00:00
Corinna Vinschen
e3f56b2b3d
* winsup.api/user_malloc.c: New file.
2006-06-12 13:59:36 +00:00
Christopher Faylor
08a968173b
* winsup.api/cygload.h: Increase padding to 32768.
2006-05-31 01:49:02 +00:00
Christopher Faylor
99fc5e10f3
update to newer autoconf
2006-05-24 16:59:03 +00:00
Christopher Faylor
5b2daa7c97
* winsup.api/checksignal.c (main): Add test for siginterrupt.
2006-03-23 15:52:16 +00:00
Christopher Faylor
7f9832e774
* 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-02 06:15:58 +00:00
Christopher Faylor
b0b9ccf618
* winsup.api/resethand.c (main): Remove core dump flag from exit status.
2006-01-02 04:01:22 +00:00
Christopher Faylor
590129475b
* winsup.api/resethand.c (main): Coerce argument to pointer to stop gcc
...
complaint.
2006-01-02 03:45:32 +00:00
Christopher Faylor
74c29a5e9a
* winsup.api/resethand.c: Use SIGSEGV for the signal to test.
2006-01-01 18:02:54 +00:00
Christopher Faylor
031d1aa40f
* winsup.api/resethand.c: New file.
2006-01-01 17:26:52 +00:00
Christopher Faylor
4e8e54543e
* winsup.api/ltp/dup03.c (cleanup): Fix longstanding off-by-one error when
...
setting array element to -1.
2005-12-11 22:31:00 +00:00
Christopher Faylor
daed3bec54
revert erroneous checkin
2005-10-11 18:39:02 +00:00
Christopher Faylor
a5ac89cbbd
* Makefile.common (CFLAGS_COMMON): Add -Wstrict-aliasing.
2005-10-11 18:17:59 +00:00
Christopher Faylor
452e5c7297
* 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-11 04:59:53 +00:00
Christopher Faylor
6700d99e7e
* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it
...
causes compile failures with gcc 3.4.4.
2005-06-10 19:32:29 +00:00
Christopher Faylor
2af5aa67e2
* cygload/cygload.exp: .cpp -> .cc.
2005-06-06 21:28:22 +00:00
Christopher Faylor
bd3b6ab4ee
* 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-06-06 21:13:31 +00:00
Brian Dessent
7f21d805a3
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-05-18 01:10:06 +00:00
Christopher Faylor
ccf32128b3
add missing ChangeLog entry
2005-02-10 18:12:56 +00:00
Christopher Faylor
292a8156c6
* winsup.api/known_bugs.tcl: Remove dup05, fcntl07B, lseek04, select03,
...
unlink06.
2005-02-10 17:48:30 +00:00
Christopher Faylor
76eb619239
* cygrun.c (main): Fix exit code so that it reflects UNIX style.
...
* winsup.api/ltp/fork04.c (setup): Accommodate change in putenv declaration.
2005-01-10 04:13:39 +00:00