| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: Changed -verbose default value to
{body error} so that detailed information on unexpected errors in
tests is provided by default, even after the fix for [Bug 725253]
|
|
|
|
| |
non-existent $name variable in [cleanupTests]. [Bug 833637]
|
|
|
|
|
| |
command line argument (option with missing value) [Bug 833910]
* library/tcltest/pkgIndex.tcl: Bump to version 2.2.5.
|
|
|
|
|
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: the [::puts] command when either the
-output or -error option for [test] is in use, in order to capture
data written to the output or error channels for comparison against
what is expected. This is easier to document and agrees better with
most user expectations than the previous attempt to replace [puts]
only in the caller's namespace. Documentation made more precise on
the subject. [Bug 706359]
|
|
|
|
|
| |
* library/tcltest/pkgIndex.tcl: to [lrange]. Bumped
to version 2.2.4. [Bug 772333]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: extends the [catch] and [return]
* generic/tclCompCmds.c: commands to enable creation of a
* generic/tclExecute.c: proc that is a replacement for
* generic/tclInt.h: [return]. [Patch 531640]
* generic/tclProc.c:
* generic/tclResult.c:
* tests/cmdAH.test:
* tests/cmdMZ.test:
* tests/error.test:
* tests/proc-old.test:
* library/tcltest/tcltest.tcl: The -returnCodes option to [test]
failed to recognize the symbolic name "ok" for return code 0.
|
|
|
|
|
|
| |
not meet expectations, report that as the reason for test failure,
and do not attempt to check the test result for correctness.
[Bug 725253]
|
|
|
|
|
|
|
|
| |
[configure -debug 1] operations to warn about multiple uses of
the same test name. [FR 576693]
* tests/msgcat.test (msgcat-2.2.1): changed test name to avoid
duplication. [Bug 710356]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/history.tcl: [string map] where possible. Thanks
* library/ldAout.tcl: to David Welton. [Bugs 667456,667558]
* library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and
* library/http/http.tcl: tcltest 2.2.3.
* library/http/pkgIndex.tcl:
* library/opt/optparse.tcl:
* library/opt/pkgIndex.tcl:
* library/tcltest/tcltest.tcl:
* library/tcltest/pkgIndex.tcl:
* tools/genStubs.tcl:
* tools/tcltk-man2html.tcl:
* unix/mkLinks.tcl:
|
| |
|
|
|
|
|
|
|
| |
and [errorChannel] (also -outfile and -errfile) were [open]ed but
never [closed]. Also, [cleanupTests] could remove output or error
files. [Bug 676978].
* library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.
|
| |
|
|
|
|
|
|
|
|
| |
test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788]
Also corrected reporting of body return code. Thanks to David
Taback [Bug 611922]
* library/tcltest/pkgIndex.tcl: Bump to version 2.2.1.
* tests/tcltest.test: added tests for these bugs.
|
|
|
|
|
| |
test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788]
* library/tcltest/pkgIndex.tcl: Bump to version 2.2.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: HEAD from the 8.4b2 release.
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
* library/http/http.tcl: Corrected installation directory of
* library/msgcat/msgcat.tcl: the package tcltest 2.2. Added
* library/opt/optparse.tcl: comments in other packages to remind
* library/tcltest/tcltest.tcl: that installation directories need
* unix/Makefile.in: updates to match increasing version
* win/Makefile.in: numbers. [Bug 597450]
* win/makefile.bc:
* win/makefile.vc:
|
|
|
|
|
|
| |
* library/tcltest/pkgIndex.tcl: skipped when a test is skipped, fixing
* tests/tcltest.test: [Bug 589859]. Test for bug added, and
corrected tcltest package bumped to version 2.2.
|
|
|
|
| |
configuration options -constraints and -limitconstraints.
|
| |
|
|
|
|
|
| |
* Fixed bug uncovered in the conversion where a message was written
to stdout instead of [outputChannel].
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: Corrected docs. Bumped to 2.2.1.
* library/tcltest/pkgIndex.tcl: [Bug 578163]
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: Added trace to be sure the stdio
constraint is updated whenever the [interpreter] changes.
|
|
|
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: their former behavior, and documented
* tests/cmdAH.test: it. Corrected misspelling of hook
* tests/event.test: procedure. Restored tests.
* tests/http.test:
* tests/io.test:
|
|
|
|
|
|
|
| |
and [GetMatchingDirectories], removing special case processing.
* doc/tcltest.n: More documentation updates. Reference sections
are complete. Only examples need adding.
|
|
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: Change [configure -match] to
stop treating an empty list as a list of the single pattern "*".
Changed the default value to [list *] so default operation
remains the same.
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: restored writeability testing of
-tmpdir, augmented by a special exception for the deafault value.
|
|
|
|
| |
default directory can be guaranteed to be writeable.
|
|
|
|
|
|
| |
contents. Updated tests that depended on buggy behavior. Also
added warning messages to "-debug 1" operations to debug test
calls to (make|remove)(File|Directory).
|
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: Corrected -testdir default value.
Was not reliable, and disagreed with docs! Thanks to Hemang Lavana.
[Bug 575150]
|
|
|
|
| |
environment variablle configures tcltest at package load time.
|
|
|
|
|
| |
Also corrected test suite errors exposed by corrected code.
[Bug 564656]
|
|
|
|
| |
most of it in there.
|
|
|
|
| |
from tcltest.
|
|
|
|
|
|
|
| |
with options -constraints knownBug -limitConstraints 1 only tests
the knownBug tests. Mostly involves replacing direct access to the
testConstraints array with calls to the testConstraint command
(which requires tcltest version 2).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
revealed by running test suite with "-singleproc 1".
* doc/tcltest.n:
* library/tcltest/tcltest.tcl:
* tests/tcltest.test: Several updates to tcltest.
1) changed to lazy initialization of test constraints
2) deprecated [initConstraintsHook]
3) repaired badly broken [limitConstraints].
[Patch 512214, Bug 558742, Bug 461000]
|
|
|
|
|
|
| |
Converted tcltest.test to use a private namespace. Fixed bugs in
[tcltest::Eval] revealed by calling [tcltest::test] from a non-global
namespace, and namespace errors in init.test.
|
|
|
|
|
|
|
| |
users to add new legal values of the -match option to [test],
associating each with a Tcl command that does the matching of
expected results with actual results of tests. Thanks to
Arjen Markus. [Patch 521362]
|
|
|
|
| |
[source]-ing test script in subdirectories.
|
|
|
|
| |
kept only for tcltest 1 compatibility.
|
|
|
|
|
|
|
| |
when called with invalid syntax and to accept exactly two arguments
as documented. Improved error messages. [Bug 497446, Patch 513983]
***POTENTIAL INCOMPATIBILITY***: Incompatible with previous
tcltest 2.* releases, found only in alpha releases of Tcl 8.4.
|
| |
|
|
|
|
| |
be disturbed
|
| |
|
|
|
|
| |
to GetMatchingFiles), which was a public function in tcltest 1.0.
|
|
|
|
|
| |
coding conventions, and namespace issues, with several minor bugs
fixed in the process.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
constraint lists can have arbitrary whitespace, and non-lists don't
blow things up. [Bug 495977]
|
|
|
|
|
|
| |
unchanged, so that the tcltest package can test code that depends
on auto-loading. If a testing application needs $::auto_path pruned,
it should do that itself. [Bug 495726]
|