| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| | |
without overhead now (otherwise net-time can be calculated too few);
makes test results more verbose in the error case
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
::tcltest::testConstraint in cmdMZ.test
|
| | |
|
| | |
|
| |
| |
| |
| | |
Windows environment
|
| |
| |
| |
| |
| | |
Travis.
Fix a struct initializer, add two typecasts and a "const", which can generate gcc warnings with some compiler options.
|
| |
| |
| |
| |
| | |
reset discard result flag in registering TEBC-callback,
because it is applicable for this call only, and should not affect all the nested invocations may return result (added tests covering that).
|
| |
| |
| |
| |
| |
| | |
introduced, which allows to organize faster TEBC-loop
with discarding of result, simulating pop & done, like it does continue in loop (so ensures that setting of result will not smudge
the measurement).
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
interp result by the measurement)
|
| |
| |
| |
| |
| |
| | |
control of iterations);
more gentle evaluation behaviour, similar to a cycle now (also avoids extra overhead to set result to interp, etc.);
todo: rewrite optimization of INST_DONE using last-instruction pointer or optimization flags for compile of iteration (if sebres's perf-branch gets merged).
|
|\ \
| |/ |
|
| |
| |
| |
| | |
in tests (e. g. using tcltest -singleproc 1 -file 'cmdMZ* namespace*')
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
time-related corner cases and test expectations);
todo: rewrite several tests if monotonic clock is provided resp. command "after" gets microsecond accuracy (RFE [fdfbd5e10] gets merged)
|
|\ \
| |/ |
|
| |
| |
| |
| | |
iteration per second
|
|\ \
| |/
| |
| | |
time-calibration cycle optimization [f6637d3dd8] (clock ticks never backwards, more precise and smooth drifting)
|
| |
| |
| |
| | |
tests
|
| |
| |
| |
| | |
test-case)
|
| | |
|
|\ \
| |/
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/cmdMZ.test: list-quoting of path names that might
* tests/exec.test: contain Tcl-special chars like { or [.
* tests/io.test: Should help us sort out Tcl Bug 554068.
* tests/pid.test:
* tests/socket.test:
* tests/source.test:
* tests/unixInit.test:
|
| | |
| | |
| | |
| | |
| | | |
systems are using permissions caching, and this isn't really a Tcl
controlled issue.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/fileSystem.test: indiciate that these test files
* tests/notify.test: use features of tcltest 2. [Bug 706114]
* tests/parseExpr.test:
* tests/unixNotfy.test:
|
| | |
| | |
| | |
| | | |
cleanup code out of the test body and into the -setup/-cleanup stanzas.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Revised test cases, making sure that abbreviated
codes are checked resulting in an error, and
checking for the exact error message.
|
| | | |
|
| | |
| | |
| | |
| | | |
manifestations in the future. Add tcltest support for finalization.
|
|/ /
| |
| |
| | |
(though not of its output format).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
global variables ::errorInfo, ::errorCode, ::env and
::tcl_platform: many were relying on the alternative lookup in the
global namespace, that feature is tested specifically in namespace
and variable tests.
The modified testfiles are: apply.test, basic.test, case.test,
cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test,
event.test, expr.test, fileSystem.test, for.test, http.test,
if.test, incr-old.test, incr.test, interp.test, io.test,
ioCmd.test, load.test, misc.test, namespace.test, parse.test,
parseOld.test, pkg.test, proc-old.test, set.test, switch.test,
tcltest.test, thread.test, var.test, while-old.test, while.test.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
containing backslash-quoted value is treated correctly.
* generic/tclCompile.c (TclWordKnownAtCompileTime): [Bug 986196]
Corrected flaw above and the flaw that caused TCL_TOKEN_SIMPLE_WORDs
to have their original word value copied ( "{a b}" ) rather than the
actual value ( "a b" ). Thanks to Kevin Kenny for report and tests.
|
| |
| |
| |
| |
| | |
Added a test that a return code containing spaces is correctly
returned.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/cmdMZ.test: list-quoting of path names that might
* tests/exec.test: contain Tcl-special chars like { or [.
* tests/io.test: Should help us sort out Tcl Bug 554068.
* tests/pid.test:
* tests/socket.test:
* tests/source.test:
* tests/unixInit.test:
|
| |
| |
| |
| |
| | |
systems are using permissions caching, and this isn't really a Tcl
controlled issue.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* doc/source.n: TIPs 137/151. Adds
* doc/tclsh.1: a -encoding option to
* generic/tcl.decls: the [source] command
* generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine,
* generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(),
* generic/tclMain.c (Tcl_Main): that provides C access
* mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function.
* tests/cmdMZ.test: Also adds command line
* tests/main.test: option handling in Tcl_Main() so that tclsh
* tests/source.test: and other apps built on Tcl_Main() respect
a -encoding command line option before a script filename. Docs and
tests updated as well. [Patch 742683]
This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs
that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former
ability to pass a leading "-encoding" option to interactive shell
operations.
* generic/tclInt.decls: Added internal stub
* generic/tclMain.c (Tcl*StartupScript*): table entries for
two new functions Tcl_SetStartupScript() and Tcl_GetStartupScript()
that set/get the path and encoding for the startup script to be
evaluated by either Tcl_Main() or Tk_Main(). Given public names in
anticipation of their exposure by a followup TIP.
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
|
| |
| |
| |
| |
| |
| | |
* tests/cmdMZ.test: where the default -errorcode NONE value
was not copied into the return options dictionary. This correction
modified one test result.
|