| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
executable currently running the tcltest package. [Bug 454050]
|
|
|
|
| |
as the customization hooks. [Bug 495662]
|
| |
|
|
|
|
|
| |
a proper list to foreach to avoid munging a Windows
patch like D:\Foo\Bar into D:FooBar before the glob.
|
| |
|
|
|
|
|
| |
[Patch #454050] (stanton)
Simplified unixExecs constriant test.
|
|
|
|
|
| |
Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2,
opt 0.4.3, tcltest 2.0.1. [Patch 448931]
|
|
|
|
|
|
|
|
| |
tools/tcltk-man2html.tcl is left unfixed, but that file is sufficiently
complex that I don't dare touch it without understanding exactly what all
of the supposed directory separators are doing there. In any case, this
file is probably not going to be used by ordinary users; developers can put
up with a few more "pointless restrictions"...
|
|
|
|
|
|
| |
directory in runAllTests that screwed up the temporary directory
setting, effectively preventing users from running tests on
multiple platforms at the same time.
|
|
|
|
|
|
|
|
|
|
| |
* tests/tcltest.test:
* library/tcltest1.0/tcltest.tcl:
* library/tcltest1.0/pkgIndex.tcl:
* docs/tcltest.n: Moved tcltest2 code so that it's the standard
version of tcltest. Removed all tcltest2 files
(tests/tcltest2.test, library/tcltest1.0/tcltest2.tcl,
docs/tcltest2.n).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/tcltest2.test
* doc/tcltest2.n: Code and documentation cleanup. Modified
-verbose to take list of keywords as well as string of letters.
Removed Tcl version information from tcltest. Removed
tcltest::grep from tcltest package. Added optional 3rd directory
argument to makeFile/makeDirectory and removeFile/removeDirectory.
* tests/basic.test: Changed references to tcltest::tclVersion to
hardcoded numbers.
* generic/tcl.h: Changed reference to tcltest2.tcl and tcltest.tcl
in comments to tests/basic.test.
|
| |
|
|
|
|
|
|
| |
command to accept both attribute-value pairs and command line options.
Updated the tests and the documentation for this new format.
Also changed the option names for the test command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/tcltest1.0/tcltest2.tcl: New version of tcltest.
Cleanup of command line parsing: allows users to specify command
line arguments through an environment variable named
TCLTEST_OPTIONS [RFE: 3748], does not respond to incorrect
arguments, and forces usage of entire flag name when using command
line arguments. Defines accessor procs for all tcltest
variables. Allows users to use 'return' in test scripts. Allow
users to specify whether test files should be sourced or run in a
separate process. 'all.tcl' code moved to tcltest package.
'test' proc modified to use attribute-value pairs. Allow users to
specify what return codes, output, and errors can be compared and
whether these values should be compared using regexp, glob, or
exact matching. makeDirectory & removeDirectory now operate with
respect to temporaryDirectory [Bug: 6001]. Test results from
tests run in slave interpreters are now included in test totals
[Bug: 1493]. Test files that return error values are now reported.
* tests/all.tcl: Added code to check for the tcltest version
loaded; modified to figure out which tests to run based on the
tcltest version loaded.
* tests/tcltest.test: Modified to explicitly load version 1.0 of
tcltest.
* tests/tcltest2.test: New test suite for tcltest; includes all of
the old tests plus new ones reflecting changes made for version
2.0.
* tests/cmdAH.test: Added singleTestInterp constraint to
cmdAH-31.2; this test does not run if tests aren't sourced into a
single interpreter.
* tests/socket.test: Fixed two tests that were referencing
variables outside of scope.
* tools/tcl.wse.in: Added code to install tcltest2.tcl.
* doc/tcltest2.n: New documentation for tcltest version 2.0.
Removes documentation for tcltest namespace variables. Adds
documentation for new tcltest procs.
* unix/mkLinks: Added code to link to tcltest2.n.
* generic/tcl.h: Added comment to modify tcltest2.tcl as well as
tcltest.tcl for version changes.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/tcltest1.0/tcltest.tcl:
* tools/tcl.wse.in:
* tools/tcltk-man2html.tcl:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in: updated patchlevel to 8.4a2
|
|
|
|
|
| |
tcltest::restoreState to 2, for consistancy with the debug level
in tcltest::saveState [Bug: 4505].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/init.tcl:
* library/reg1.0/pkgIndex.tcl:
* library/tcltest1.0/tcltest.tcl:
* mac/README:
* tools/tcl.hpj.in:
* tools/tcl.wse.in:
* unix/README:
* unix/configure.in:
* unix/tcl.spec:
* win/README:
* win/README.binary:
* win/configure.in:
* win/makefile.vc:
* win/tcl.m4: updated patchlevel to 8.4a1
|
| |
|
|
|
|
| |
references (no longer supported)
|
|
|
|
| |
list to allow dirnames with spaces
|
|
|
|
|
|
|
|
| |
normalizePath and exported it as a public proc. This proc
creates an absolute path given the name of the variable containing
the path to modify. The path is modified in place.
* library/tcltest1.0/pkgIndex.tcl: Added normalizePath.
* tests/all.tcl: Changed code to use normalizePath.
|
|
|
|
|
| |
went to stdout instead of the specified output file in some
cases.
|
| |
|
|
|
|
| |
full pathname of file created
|
|
|
|
| |
thread, avoiding numerous superfluous thread send calls.
|
|
|
|
|
| |
value of tcl_interactive to also incorporate a check for the
existence of the variable.
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/tcltest.n:
* library/tcltest1.0/tcltest.tcl: Removed the extra return at the
end of the tcltest.tcl file.
Applied patches sent in by Andreas Kupries to add helper procs for
debug output, add 3 new flags (-testsdir, -load, -loadfile), and
internally refactors common code for dealing with paths into
separate procedures. [Bug: 2838, 2842]
|
| |
|
|
|
|
|
|
| |
Andreas Kupries to fix typos in comments and ::tcltest::grep,
fix hook redefinition problems, and change "string compare" to
"string equal." [Bug: 2836, 2837, 2839, 2840]
|
|
|
|
|
| |
child namespace (requires that command-line args are processed
in that namespace)
|
|
|
|
|
|
|
| |
* doc/tcltest.n:
* tests/README: Modified testConstraints variable so that it isn't
unset every time ::tcltest::initConstraints is called and cleaned up
documentation in the README file and the man page.
|
|
|
|
|
| |
variables are only initialized to their default values if they did
not previously exist.
|
|
|
|
|
|
| |
* library/tcltest1.0/tcltest.tcl: Added a -args flag that sets a
variable named ::tcltest::parameters based on whatever's being
sent in as the argument to the -args flag.
|