summaryrefslogtreecommitdiffstats
path: root/tests/main.test
Commit message (Collapse)AuthorAgeFilesLines
* Don Porter's fix for bad parsing of nested scripts [Bug 681841].Miguel Sofer2003-02-161-4/+4
|
* * tests/main.test: Stopped main.test from deleting existing file.dgp2003-01-311-2/+5
| | | | Test suite should not delete files that already exist. [Bug 675660]
* * tests/main.test: Constrain tests that do not work on Windows.dgp2003-01-281-7/+7
|
* * tests/main.test: Cheap fix for [Bugs 575851, 575858]. Avoiddgp2002-07-031-1/+6
| | | | | | | * tests/tcltest.test: non-writable . by [cd [temporaryDirectory]]. * library/auto.tcl: Fix [tcl_findLibrary] to be sure it sets $varName only if a successful library script is found. [Bug 577033]
* * Use the "stdio" constraint to control whetherdgp2002-05-311-7/+7
| | | | an [open "|[interpreter]"] is attempted.
* * Fixes to test suite when there's a spacedgp2002-05-081-11/+11
| | | | in the working path. Thanks to Kevin Kenny.
* * Parts of fileSystem.test require tcltest 2. Added appropriate checks.dgp2002-04-161-4/+4
|
* * Added missing [after cancel]s.dgp2002-03-271-3/+5
|
* * Removed workarounds for Bug 495977.dgp2002-03-251-63/+183
|
* * generic/tclInt.decls:das2002-01-271-14/+14
| | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: * mac/tclMacChan.c: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacLoad.c: * mac/tclMacResource.c: * mac/tclMacSock.c: TIP 27 CONSTification induced changes * tests/event.test: * tests/main.test: added catches/constraints to test that use features that don't exist on the mac.
* More changes for test portability. Using euro symbol.dgp2002-01-091-7/+7
|
* * generic/tclTest.c (MainLoop):dgp2002-01-091-15/+21
| | | | | * tests/main.test (Tcl_Main-1.{3,4,5,6}): Corrected some non-portable tests from the new Tcl_Main changes. Thanks to Kevin Kenny.
* * doc/Tcl_Main.3:dgp2002-01-051-0/+1048
* generic/tclMain.c: Substantial rewrite and expanded documentation of Tcl_Main to correct a number of bugs and flaws: * Interactive Tcl_Main can now enter a main loop, exit that loop and continue interactive operations. The loop may even exit in the midst of interactive command typing without loss of the partial command. [Bugs 486453, 474131] * Tcl_Main now gracefully handles deletion of its master interpreter. * Interactive Tcl_Main can now operate with non-blocking stdin * Interactive Tcl_Main can now detect EOF on stdin even in mid-command. [Bug 491341] * Added VFS-aware internal routines for managing the startup script selection. * Tcl variable 'tcl_interactive' is now linked to C variable 'tty' so that one can disable/enable interactive prompts at the script level when there is no startup script. This is meant for use by the test suite. * Consistent use of the Tcl libraries standard channels as returned by Tcl_GetStdChannel(); as opposed to the channels named 'stdin', 'stdout', and 'stderr' in the master interp, which can be different or unavailable. * Tcl_Main now calls Tcl_Exit() if evaluation of [exit] in the master interpreter returns, assuring Tcl_Main does not return. * Documented Tcl_Main's absence from public stub table * Documented that Tcl_Main does not return. * Documented Tcl variables set by Tcl_Main. * All prompts are done from a single procedure, Prompt. * Use of Tcl_Obj-enabled interfaces everywhere. * generic/tclInt.decls (TclGetStartupScriptPath, TclSetStartupScriptPath): New internal VFS-aware routines for managing the startup script of Tcl_Main. * generic/tclIntDecls.h: * generic/tclStubInit.c: make genstubs * generic/tclTest.c (TestsetmainloopCmd,TestexitmainloopCmd, Tcltest_Init,TestinterpdeleteCmd): * tests/main.test (new): Added new file to test suite that thoroughly tests generic/tclMain.c; added some new test commands for testing Tcl_SetMainLoop().