summaryrefslogtreecommitdiffstats
path: root/tests/cmdMZ.test
Commit message (Collapse)AuthorAgeFilesLines
* 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.5sebres2019-11-061-14/+17
|\ \ | |/
| * cmdMZ.test: solved timing issues (too slow machines, debug builds, etc)sebres2019-11-061-14/+17
| |
* | Merge 8.5jan.nijtmans2019-09-101-2/+2
|\ \ | |/
| * Don't use constraints like unixOrPc anymore, use unixOrWin (for example)jan.nijtmans2019-09-101-2/+2
| |
| * One more knownMsvcBug marker (seen in Travis). Properly export ↵jan.nijtmans2019-08-271-0/+1
| | | | | | | | ::tcltest::testConstraint in cmdMZ.test
| * Backport two knownMsvcBug markers, which hit us (again) on Travis.jan.nijtmans2019-08-271-7/+9
| |
| * cherrypick timerate-loop-opti--discard-resultsebres2019-07-241-4/+39
| |
* | One more test which - apparently - cannot be thrusted when run in the Travis ↵jan.nijtmans2019-08-041-1/+1
| | | | | | | | Windows environment
* | Add one more knownMsvcBug marker, for a test-case which sometimes fails in ↵jan.nijtmans2019-08-021-1/+4
| | | | | | | | | | Travis. Fix a struct initializer, add two typecasts and a "const", which can generate gcc warnings with some compiler options.
* | fix done optimization (TCL_EVAL_DISCARD_RESULT) for nested call - supply and ↵sebres2019-07-231-4/+29
| | | | | | | | | | 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).
* | better rewritten loop optimization: new evalFlag "TCL_EVAL_DISCARD_RESULT" ↵sebres2019-07-231-0/+10
| | | | | | | | | | | | 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).
* | merge 8.5sebres2019-05-241-2/+2
|\ \ | |/
| * fixes typo ("net" instead of outdated term "nett")sebres2019-05-241-2/+2
| |
* | merge 8.5sebres2019-05-161-0/+6
|\ \ | |/
| * small amend to [ac566e9df84daeab] with rollback of done/continue optimizationsebres2019-05-161-0/+6
| |
* | merge 8.5 (timerate fix to avoid impact of object duplication on shared ↵sebres2019-05-161-0/+8
|\ \ | |/ | | | | interp result by the measurement)
| * timerate: allow continue from measurement cycle (used for conditional flow ↵sebres2019-05-161-0/+8
| | | | | | | | | | | | 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).
* | merge 8.5sebres2019-04-091-0/+4
|\ \ | |/
| * closes [940ce8f958] - tests/cmdMZ.test: avoid import timerate to global NS ↵sebres2019-04-091-0/+4
| | | | | | | | in tests (e. g. using tcltest -singleproc 1 -file 'cmdMZ* namespace*')
* | merge 8.5sebres2019-04-091-11/+19
|\ \ | |/
| * closes [1e5e25cf2b] - tests/cmdMZ.test: fixed NRT-related sleeps (and ↵sebres2019-04-091-11/+19
| | | | | | | | | | 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)
* | merge 8.5sebres2019-04-011-2/+5
|\ \ | |/
| * closes [1a3fa1232e306a44], test case cmdMZ-6.5 fixed to cover float value by ↵sebres2019-04-011-2/+5
| | | | | | | | iteration per second
* | merge 8-5-timerate (?max-count?, break possibility, diverse fixes) + windows ↵sebres2019-02-131-0/+64
|\ \ | |/ | | | | time-calibration cycle optimization [f6637d3dd8] (clock ticks never backwards, more precise and smooth drifting)
| * timerate: extended with ?max-count? optional parameter, code review and more ↵sebres2019-02-131-4/+23
| | | | | | | | tests
| * small amend (correct wrong utf-8 prevention for micro sign in RE of check ↵sergey.brester2019-02-121-1/+1
| | | | | | | | test-case)
| * few test cases for timerate commandsergey.brester2019-02-121-0/+45
| |
* | 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.
| | * * tests/basic.test: Made several tests more robust to thedgp2004-02-251-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
| | * * tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as morehobbs2003-11-121-7/+5
| | | | | | | | | | | | | | | systems are using permissions caching, and this isn't really a Tcl controlled issue.
| | * * tests/cmdMZ.test: Updated [package require tcltest] lines todgp2003-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | * tests/fileSystem.test: indiciate that these test files * tests/notify.test: use features of tcltest 2. [Bug 706114] * tests/parseExpr.test: * tests/unixNotfy.test:
* | | Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-011-31/+27
| | | | | | | | | | | | cleanup code out of the test body and into the -setup/-cleanup stanzas.
* | | TIP #348 IMPLEMENTATION - Substituted error stackferrieux2010-04-051-4/+8
| | |
* | | [FRQ 2974744]: share exception codes (ObjType?):nijtmans2010-03-311-6/+6
| | | | | | | | | | | | | | | | | | Revised test cases, making sure that abbreviated codes are checked resulting in an error, and checking for the exact error message.
* | | Revert mistaken commitdgp2009-11-161-14/+14
| | |
* | | (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-161-14/+14
| | | | | | | | | | | | manifestations in the future. Add tcltest support for finalization.
* | | Use the powers of tcltest2 for good! Also add basic testing of disassmblerdkf2008-09-101-135/+134
|/ / | | | | | | (though not of its output format).
* | * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | * tests/cmdMZ.test (cmdMZ-return-2.17): Added a test that a worddgp2004-07-061-1/+11
| | | | | | | | | | | | | | | | | | 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.
* | * tests/cmdMZ.test (cmdMZ-return-2.15,cmdMZ-return-2.16):Kevin B Kenny2004-07-061-1/+22
| | | | | | | | | | Added a test that a return code containing spaces is correctly returned.
* | Standardize some use of test constraints onto names that are documenteddkf2004-06-231-2/+2
| |
* | Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-7/+1
| |
* | * tests/basic.test: Made several tests more robust to thedgp2004-02-251-4/+19
| | | | | | | | | | | | | | | | | | | | * 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:
* | * tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as morehobbs2003-11-121-8/+5
| | | | | | | | | | systems are using permissions caching, and this isn't really a Tcl controlled issue.
* | * doc/FileSystem.3: Implementation ofdgp2003-09-051-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | * generic/tclCmdAH.c: Corrected bug in TIP 90 implementationdgp2003-08-291-2/+2
| | | | | | | | | | | | * tests/cmdMZ.test: where the default -errorcode NONE value was not copied into the return options dictionary. This correction modified one test result.