summaryrefslogtreecommitdiffstats
path: root/tests/thread.test
Commit message (Collapse)AuthorAgeFilesLines
*-. Merge 8.6. TIP #651 implementation (since there are already 2 YES votes, no ↵jan.nijtmans2022-11-201-2/+1
|\ \ | | | | | | | | | NO votes expected)
| | * Bring back the common facilities of the tcltests "package", but use a lessdgp2022-11-181-1/+1
| | | | | | | | | fragile method to gain access to them.
* | | merge 8.6dgp2022-11-181-0/+3
|\ \ \ | |/ / |/| / | |/
| * Test suite hygienedgp2022-11-141-1/+2
| | | | | | | | | | - Several tests missing the "testdstring" constraint - [package require tcltests] is fragile, and almost all test files that had it were not making use of anything it provides. Removed.
* | TIP 590: Recommend lowercase Package Namesjan.nijtmans2020-12-041-1/+1
|\ \
| * | Case-sensitive package namesjan.nijtmans2020-11-031-1/+1
| | |
* | | More ©-sign consolidationjan.nijtmans2020-11-231-2/+2
| | |
* | | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-3/+3
|/ / | | | | | | whenever reasonable.
* | Merge 8.6jan.nijtmans2020-09-141-2/+2
|\ \ | |/
| * Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. ↵jan.nijtmans2020-09-141-2/+2
| | | | | | | | | | Thanks! More usage of $index<0 in stead of $index==-1 consistantly
* | Merge 8.6jan.nijtmans2020-09-041-1/+1
|\ \ | |/
* | Merge 8.6jan.nijtmans2020-09-011-2/+2
|\ \ | |/
| * Many more internal master/slave -> parent/child renamingsjan.nijtmans2020-09-011-2/+2
| |
* | Fix various test-cases, which started failing on Windows due to TIP #430jan.nijtmans2018-09-131-2/+5
|/
* Add another suppress rule for valgrind, factor test code intopooryorick2018-06-221-11/+0
| | | tests/tcltests.tcl, and constrained a some tests in the valgrind case.
* Suppress more valgrind "still reachable" reports and ensure that threads arepooryorick2018-06-211-20/+36
| | | fully finalized in thread tests.
* Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-231-0/+26
|\ | | | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| * Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-231-0/+26
| |\ | | | | | | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| | * Merge thread test typo fixes from trunk.Joe Mistachkin2015-06-051-3/+3
| | |\ | |_|/ |/| |
| | * Add stress test.Joe Mistachkin2015-06-051-0/+26
| | |
* | | Fix typo in three thread tests.Joe Mistachkin2015-06-051-3/+3
| |/ |/|
* | Remove old vars and tests, now unused, one that collides with tcltest.dgp2013-01-301-22/+0
| |
* | Let all test-cases which require Thread, at least require Thread 2.7jan.nijtmans2012-11-161-1/+1
| |
* | correct font issues in define.ndgp2012-09-071-1/+1
| | | | | | | | silence thread.test warning messages Automake updates
* | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | | | | combination with tcltest86.dll to do that (Windows only)
* | Revise results of the thread-7.28 through thread-7.31 tests to account for ↵Joe Mistachkin2011-11-211-236/+322
| | | | | | | | the fact they are canceled via a script sent to the thread asynchronously, which then impacts the error message handling. Attempt to manually drain the event queue for the main thread after joining the test thread to make sure no stray events are processed at the wrong time on the main thread. Revise all the synchronization and comparison semantics related to the thread id and error message.
* | Remove unnecessary [after] calls from the thread tests. Make error message ↵Joe Mistachkin2011-11-211-8/+14
| | | | | | | | matching more robust for tests that may have built-in race conditions. Test thread-7.26 must first unset all thread testing related variables.
* | Remove all use of thread::release from the thread 7.x tests, replacing it ↵Joe Mistachkin2011-11-181-50/+67
| | | | | | | | with a script that can easily cause 'stuck' threads to self-destruct for those test cases that require it. Also, make the error message handling far more robust by keeping track of every asynchronous error.
* | Refactor all the remaining thread-7.x tests that were using [testthread]. ↵Joe Mistachkin2011-11-181-88/+67
| | | | | | | | Note that this test file now requires the very latest version of the Thread package to pass all tests. In addition, the thread-7.18 and thread-7.19 tests have been flagged as knownBug because they cannot pass without modifications to the [expr] command, persuant to TIP #392.
* | More work in progress converting tests from [testthread] to Thread package.dgp2011-11-091-262/+235
| |
* | Work in progress converting tests from [testthread cancel] to [thread::cancel]dgp2011-11-011-343/+270
| |
* | Stop using the deprecated thread management commands of the tcltest package.dgp2011-09-231-11/+29
| | | | | | | | The test suite ought to provide these tools for itself. They do not belong in a testing harness.
* | Revise the thread exit handling of the [testthread] command so that itdgp2011-09-211-1/+0
| | | | | | | | properly maintains the per-process data structures even when the thread exits for reasons other than the [testthread exit] command.
* | Plug most memory leaks in thread.test.dgp2011-09-191-16/+22
|\ \
| * | stop segfaultdgp2011-09-121-1/+5
| | |
| * | Attempt to convert test thread-7.26dgp2011-09-121-9/+9
|/ /
* | more conversion workdgp2011-09-121-20/+15
| |
* | Work in progress taking leaks out of thread.test.dgp2011-09-121-75/+61
| |
* | Convert [testthread] use to Thread package use in thread-6.1.dgp2011-09-121-9/+6
| | | | | | Eliminates a memory leak in `make valgrind`.
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ | |/ | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ | | | | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * Fix for [Bug 1565466]Joe Mistachkin2009-10-181-4/+7
| | |
| * | Fix for [Bug 988703, 1565466]Joe Mistachkin2009-10-181-4/+7
| | |
* | | Fix for [Bug 1565466]Joe Mistachkin2009-10-181-4/+7
| | |
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| | |
* | | TIP 285 ImplementationJoe Mistachkin2008-06-131-3/+1191
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | thread-4.4: clear ::errorInfo in the thread as a message is left here from ↵patthoyts2007-08-211-2/+2
| | | | | | | | init.tcl on windows due to no tcl_pkgPath.
* | * generic/tclBasic.c: Use fully qualified variable names fordgp2007-08-141-2/+3
| | | | | | | | | | | | * tests/thread.test: ::errorInfo and ::errorCode so that string * tests/trace.test: reported to variable traces are fully qualified in agreement with Tcl 8.4 operations.