aboutsummaryrefslogtreecommitdiff
path: root/winsup/testsuite/cygrun.c
AgeCommit message (Collapse)AuthorFilesLines
2024-01-19Cygwin: remove warnings from testsuite buildCorinna Vinschen1-1/+0
- drop unused variable - remove deprectated usage of std::pointer_to_unary_function. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-08-08Cygwin: testsuite: Add '-notimeout' option to cygrunJon Turney1-4/+22
Add '-notimeout' option for cygrun. This is very useful when using it to run a test standalone and under a debugger. Also: warn about excess arguments
2023-07-21Cygwin: testsuite: Drop setting TDIRECTORYJon Turney1-4/+1
Drop setting TDIRECTORY, just use /tmp in the 'test installation' now that we have it. This effectively reverts f3ed5f2fe029d74372aca68b18936e164ff47cf7 Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2023-07-14Cygwin: testsuite: Add a simple timeout mechanismJon Turney1-2/+15
Astonishingly, we don't have this already, so tests which hang just stop the testsuite dead in it's tracks... Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2023-01-13Cygwin: testsuite: Drop appending 'ntsec' to CYGWIN in cygrun wrapperJon Turney1-16/+0
Don't append 'ntsec' to the CYGWIN env var in the cygrun wrapper. It doesn't have any effect anymore.
2020-11-08Cygwin: Ensure temporary directory used by tests existsJon Turney1-1/+4
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.
2016-06-23Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout optioncygwin-2_5_2-releaseCorinna Vinschen1-2/+0
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>
2005-01-10* cygrun.c (main): Fix exit code so that it reflects UNIX style.Christopher Faylor1-0/+2
* winsup.api/ltp/fork04.c (setup): Accommodate change in putenv declaration.
2003-01-22 * cygrun.c: Move here from ../cygwin.Corinna Vinschen1-0/+67
* Makefile.in: Build cygrun.exe. * winsup.api/winsup.exp: Expect cygrun.exe in $rootme.