summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testProcess.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-06-011-14/+17
| | | | | * upstream-KWSys: KWSys 2018-06-01 (8ef62b28)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-11-011-6/+22
| | | | | * upstream-KWSys: KWSys 2017-11-01 (6ffca34c)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-10-101-3/+1
| | | | | * upstream-KWSys: KWSys 2017-10-10 (239bc737)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-11-091-249/+205
| | | | | * upstream-KWSys: KWSys 2016-11-09 (18c65411)
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-08-311-1/+27
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-07-311-43/+224
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-08-111-0/+2
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-07-181-0/+15
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2013-02-011-11/+11
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2013-01-081-1/+1
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2012-12-191-5/+10
|
* KWSys: Avoid undefined behavior in Process crash testsBrad King2010-07-091-3/+2
| | | | | | | | Clang is smart enough to recognize that "*(int*)0=0" invokes undefined behavior, warns, and produces an "undefined instruction". The message in commit "Avoid Clang optimizer bug in testProcess-[45]" (2010-07-02) is incorrect; this is not a Clang bug. It really is undefined behavior. Use "*(int*)1=0" to produce a crash instead.
* KWSys: Avoid Clang optimizer bug in testProcess-[45]Brad King2010-07-021-0/+5
| | | | | | | | Clang's optimizer, as of clang version 2.8 (trunk 107463), produces the undefined instruction 'ud2' for the code "*(int*)0=0" on OS X x86_64. It causes our crash tests to fail because the child process exits with an invalid instruction instead of a segmentation fault. Work around the bug by using "*(int*)1=0" in this case.
* Fix warnings in CMake source code. Suppress warnings in Lexer and Parser ↵David Cole2009-09-301-1/+1
| | | | files that are 'too hard' to fix.
* Convert KWSys to OSI-approved BSD LicenseBrad King2009-09-281-11/+9
| | | | | | | This converts the KWSys license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the KWSys copyright to cover the full development time range.
* ENH: Extend kwsys.testProcess-4 timeoutBrad King2009-01-091-1/+1
| | | | | | The test is supposed to terminate quickly when its child crashes, but that seems to take over 10s on busy systems. This extends the test's timeout to 30s to help it pass when running on a busy system.
* ENH: a few more haiku fixes, stop the debugger from coming up for testsBill Hoffman2008-09-221-1/+1
|
* ENH: add initial support for HAIKU OS from bug# 7425Bill Hoffman2008-09-151-1/+1
|
* ENH: Changes based on patch from Ryan C. Gordon to enable process execution ↵Brad King2006-12-041-1/+15
| | | | on BeOS. There seems to be no way to implement it without polling (or threads).
* COMP: Fix and/or disable warnings for Borland 5.6 build.Brad King2006-08-011-1/+4
|
* ENH: Added test 8 to test grandchildren running after children exit.Brad King2006-05-211-32/+83
|
* ENH: Added a way to quickly enable manual testing of grandchild killing.Brad King2006-03-081-1/+13
|
* ENH: Added special test 0 to just run a given command line.Brad King2006-01-051-11/+20
|
* COMP: Fixed uninitialized variable.Brad King2005-07-081-1/+1
|
* ENH: Extended test 0 to run the executable twice using the same process ↵Brad King2005-07-071-14/+29
| | | | object. This tests the reusability of the objects.
* BUG: Use sleep(1) instead of usleep(1000000) because some UNIX systems ↵Brad King2005-06-211-1/+1
| | | | specify that the argument to usleep must be less than 1000000.
* ENH: Added test 7 to expose problems with polling by WaitForData.Brad King2005-06-171-18/+94
|
* ENH: Removing previous debug code.Brad King2005-05-161-6/+0
|
* ENH: Adding debugging code for freebsd.Brad King2005-05-131-0/+6
|
* ENH: Removing QNX hack for test 6 now that the problem has been fixed.Brad King2005-05-101-7/+0
|
* ENH: Disabling test 6 on QNX until process killing can be resolved. It will ↵Brad King2005-05-051-0/+7
| | | | just fail always for now.
* ENH: Adding test of running executable with forward slashes on windows.Brad King2005-05-031-0/+24
|
* BUG: Extending all timeouts to help out slower machines.Brad King2005-04-281-3/+3
|
* BUG: Extending timeout of test 6 from 0.1 seconds to 3 seconds. This should ↵Brad King2005-04-271-1/+1
| | | | avoid missed signals and intermittent failures.
* BUG: Drastically extending test5's timeouts to get it to pass when running ↵Brad King2005-04-221-2/+2
| | | | on a heavily-loaded machine.
* BUG: Adjusting timeouts for tests 4 and 5 to avoid early killing.Brad King2005-04-201-2/+2
|
* BUG: Expanded difference in timeouts between tests 4 and 5 so that 5 does ↵Brad King2005-04-191-7/+11
| | | | not timeout while waiting for 4 to timeout. This should fix the intermittent failure of test 5 on cygwin. ENH: When a mismatch is reported it now reports what it was as well as what it should have been.
* COMP: Removing return value from test6. It is an infinite loop, so the ↵Brad King2005-04-131-3/+2
| | | | return causes warnings. It will never return anyway.
* COMP: Adding work-around for CMake dependency scanning limitation. Any ↵Brad King2005-04-131-0/+7
| | | | configured header included by KWSYS_HEADER() in a .c or .cxx file in kwsys itself must use this hack to get dependencies.
* BUG: Avoid error diagnostic popups on windows for test that crashes on purpose.Brad King2005-04-131-0/+4
|
* ENH: Do kwsys testing as part of cmake testing, command line arguments are ↵Andy Cedilnik2005-04-131-1/+2
| | | | not experimental and add simple test for systemtools
* ERR: Added missing include of string.hBrad King2004-10-011-0/+1
|
* ENH: Added optional display of output for tests. Avoid printing alot of ↵Brad King2004-09-301-6/+11
| | | | output for test 6.
* BUG: Fixed off-by-one error in test6 function.Brad King2004-07-131-3/+2
|
* ENH: Added test for runaway output.Brad King2004-07-131-10/+44
|
* ENH: Added exception string to abnormal termination report.Brad King2004-01-281-1/+2
|
* ERR: Fixed unused argument warning.Brad King2004-01-191-0/+1
|
* ENH: Added a recursive process execution test.Brad King2004-01-171-27/+100
|
* ENH: Updated copyright.Brad King2003-12-151-0/+13
|
* ENH: Removed pipe selection argument from WaitForData method in ↵Brad King2003-12-051-3/+1
| | | | kwsysProcess. This greatly simplifies its use.