summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6. jan.nijtmans2020-03-132-53/+38
|\ | | | | Code review: Tcl 8.6 doesn't (need to) build with -DUNICODE -D_UNICODE any more, so things can be simplified. Good work, thanks!
| * reformat assemble-15.* test-casesjan.nijtmans2020-03-131-53/+27
| |
| * Renumber tests to account for later releases.dgp2020-03-121-2/+2
| |
| * Add some testing of Tcl_SetByteArrayLength().dgp2020-03-121-0/+11
| |
* | env.test: added test for windows illustrating bug [8f89e2e059] - loss of ↵sebres2020-03-131-0/+20
|/ | | | multi-byte chars in environment if single-byte system encoding used
* Make tclWinDde.c compilable with C++ compiler. dde -> 1.4.3jan.nijtmans2020-02-262-4/+4
|\ | | | | Make tclWinReg.c compilable with C++ compiler. registry -> 1.3.5
| * Make tclWinDde.c compilable with C++ compiler. dde -> 1.4.3jan.nijtmans2020-02-263-5/+5
| | | | | | Make tclWinReg.c compilable with C++ compiler. registry -> 1.3.5
* | Ensure that we release the correct references when an error occurs during ↵dkf2020-02-251-1/+35
| | | | | | | | setting a class's superclasses
* | merge 8.5sebres2020-02-171-0/+13
|\ \ | |/
| * windows: avoid create of legacy error-vars on init phase (in fresh created ↵sebres2020-02-171-0/+13
| | | | | | | | interpreter) - no tcl_pkgPath variable on windows
* | merge 8.5sebres2020-01-302-32/+111
|\ \ | |/
| * introduces new command and constraint testWithLimit (as include ↵sebres2020-01-302-60/+111
| | | | | | | | tests/internals.tcl) that can be used to test a code under restricted circumstances (e.g. limited address space)
| * small amend (comments only)sebres2020-01-291-2/+3
| |
| * better test covering [5d989f9ba3] - limiting AS considers normal memory ↵sebres2020-01-291-16/+43
| | | | | | | | | | usage of process; prepared for new common test-facility (test-with-limit) for resticted execution
| * Don't run stack-3.1 test on OSX, it fail regulary. Don't really bother for ↵jan.nijtmans2020-01-211-1/+3
| | | | | | | | Tcl 8.5 any more.
* | merge 8.5 (closes [5d989f9ba3]: avoid segfault by OOM if too many items to sort)sebres2020-01-171-0/+34
|\ \ | |/
| * small amend (skip messages, avoid output on interactive shell)sebres2020-01-171-4/+5
| |
| * closes [5d989f9ba3]: avoid segfault by OOM if too many items to sort (would ↵sebres2020-01-171-0/+33
| | | | | | | | | | throw an error instead, and use system alloc for long elementArray due to size_t); added test cases covering that (in child process with limited address space, if "prlimit" available)
* | Fix [cff53cf7d0]: Failed test oo-0.9 in file oo.test in Tcl8.6.10jan.nijtmans2020-01-131-2/+2
| |
* | Add a test for issue [9128866ec8], encoding fails to loadpooryorick2020-01-041-0/+15
| |
* | Merge Tcl 8.5 changes to deal with integer overflow in the exponent, and ↵Kevin B Kenny2019-12-271-0/+66
|\ \ | |/ | | | | floating point overflow in the significand, of floating point input conversion (Bug [1de6b0629e]
| * Add test cases that used to cause floating point overflow in computing the ↵Kevin B Kenny2019-12-261-0/+9
| | | | | | | | correction term in floating point input conversion. Fix exponent overflow in floating point input conversion, and floating-point overflow in the significand in input conversion.
| * Fix parsing bug when (numSigDigs == 0).dgp2019-12-231-1/+1
| |
| * Tests for another parsing bug.dgp2019-12-221-0/+7
| |
| * Tests demonstrating the number parsing overflow bugs.dgp2019-12-211-0/+50
| |
* | Attempt to fix [5f236bc67a]: valgrind report for Tcl_UniCharToUtfjan.nijtmans2019-12-091-0/+36
| |
* | merge 8.5 (timing issue avoidance, skip test in runtime feature)sebres2019-12-091-41/+54
|\ \ | |/
| * rewrite of [dff608952b]: skip tests if there is really a timing issue (and ↵sebres2019-12-061-17/+36
| | | | | | | | implements new feature ::tcltest::Skip which allows conditionally skipping of tests at runtime)
| * Exclude some test-cases with possible timing problems on Windows. Double ;; ↵jan.nijtmans2019-12-061-4/+5
| | | | | | | | in generic/tclTimer.c
* | tcltest: hook enhancements rewritten backwards compatible now, reverts ↵sebres2019-12-091-66/+66
| | | | | | | | [0067db1bbf], [0f3d6f90f0], [b8be012969], [375a566d22]
* | Add special handling of lower surrogate to UtfToUtfProc(), so valgrind ↵jan.nijtmans2019-12-091-4/+14
| | | | | | | | should't complain in that situation. With new test-cases covering that.
* | Fix 2 test-cases, which were failing when TCL_UTF_MAX=6. Add UTF_MAX=6 UNIX ↵jan.nijtmans2019-12-071-4/+4
| | | | | | | | build to Travis as proof that now all test-cases pass for UTF_MAX=6 (still not officially supported)
* | Fix encoding-15.6 testacase for TCL_UTF_MAX=6, due to changes escape ↵jan.nijtmans2019-12-031-2/+2
| | | | | | | | sequences for upper/lower surrogate combination.
* | Fix [3cd9bea1e6]: check-in [43032d7ba3] potential problems. Also don't allow ↵jan.nijtmans2019-12-032-79/+82
| | | | | | | | surrogates in \U?????? syntax.
* | If TCL_UTF_MAX>=4, make Tcl_ParseBackslash combine two surrogates so they ↵jan.nijtmans2019-12-021-50/+53
| | | | | | | | appear as one 4-byte UTF-8 byte sequence from the start. Add test-case for this.
* | Add tcltest::EvalTest to make it easier to customize behaviour.pooryorick2019-12-011-66/+66
| |
* | Add some new test-cases involving e.g. Unicode 11. Backported from Tcl 8.7a3jan.nijtmans2019-11-291-2/+26
| |
* | Merge 8.5 (Update opt package from 0.4.6 to 0.4.7).jan.nijtmans2019-11-281-1/+1
|\ \ | |/ | | Also fix installation of opt0.4 as done by makefile.vc, which never worked in Tcl 8.6.
| * Update "opt" from version 0.4.5 to 0.4.7, backported from Tcl 8.7a3.jan.nijtmans2019-11-282-12/+12
| |
* | merge 8.6dgp2019-11-211-22/+29
|\ \
| * \ merge 8.5 (cmdMZ timing issues + verbose output in error case)sebres2019-11-211-22/+29
| |\ \ | | |/
| | * amend to [c93862b3bc] - fixes next timing test-issue in cmdMZ.test - measure ↵sebres2019-11-211-22/+29
| | | | | | | | | | | | | | | without overhead now (otherwise net-time can be calculated too few); makes test results more verbose in the error case
* | | merge 8.6; update changesdgp2019-11-153-1/+64
|\ \ \ | |/ /
| * | Protect additional Tcl_UtfToUniChar() call, for the case when not enough ↵jan.nijtmans2019-11-151-3/+21
| | | | | | | | | | | | | | | bytes are available in the buffer any more. Add additional test-cases for those situations (upper surrogate followed by somthing other than lower surrogate)
| * | merge 8.5sebres2019-11-141-1/+1
| |\ \ | | |/
| | * remove unneeded constraintsebres2019-11-141-1/+1
| | |
| * | make oo-7.10 test more readablesebres2019-11-141-3/+3
| | |
| * | bug [135804138e]: test case illustrating the segfaultsebres2019-11-141-0/+29
| | |
| * | Better - more complete - fix for [d433c0e0ad]: TCL_UTF_MAX == 4 problems. It ↵jan.nijtmans2019-11-141-0/+16
| | | | | | | | | | | | | | | allows emoji to be produced by the system encoding, even for other values of TCL_UTF_MAX. Also added test-cases for this.
* | | merge 8.6dgp2019-11-131-14/+17
|\ \ \ | |/ /