summaryrefslogtreecommitdiffstats
path: root/tests/pkgMkIndex.test
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-2/+2
| | | corrections in history.tcl and tcltest.test.
* Make all "pkg?" package names lowercase (was: ""Pkg?"), as we now recommend ↵jan.nijtmans2021-05-201-4/+4
| | | | lowercase package names. Let's provide good examples then.
* Add "{}" around many "expr" commands in testcases. Also in doc/expr.njan.nijtmans2020-10-301-6/+6
|
* Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+4
| | | | tcltest 2.5, since we never test with earlier tcltest versions
* Many more internal master/slave -> parent/child renamingsjan.nijtmans2020-09-011-12/+12
|
* For [package] etc., select modernizations from Patrick Fradin.dgp2013-01-301-9/+7
|\
| * For [package] etc., select modernizations from Patrick Fradin.dgp2013-01-301-9/+7
| |
* | 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/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].rmax2003-07-241-1/+9
| | |
* | | * tests/package.test, tests/pkg.test: Coalesce these tests into onedkf2011-01-061-57/+56
|/ / | | | | | | | | | | | | file that is concerned with the package system. Convert to use tcltest2 properly. * tests/autoMkindex.test, tests/pkgMkIndex.test: Convert to use tcltest2 properly.
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-6/+6
| | | | | | | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file
* | * library/package.tcl: Moved private commanddgp2004-07-281-14/+14
| | | | | | | | | | | | * library/tclIndex: [pkg_compareExtension] into ::tcl::Pkg. * tests/pkg_mkIndex.test: Also moved implementation of [::pkg::create] to [::tcl::Pkg::Create].
* | Standardize some use of test constraints onto names that are documenteddkf2004-06-231-7/+7
| |
* | * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test:
* | * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.rmax2003-07-241-1/+9
|/ | | | * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
* * tests/pkgMkIndex.test: Constrained tests of [load] package indexingdgp2002-07-061-1/+5
| | | | | to those platforms where the testing shared libraries have been built. [Bug 578166].
* * tests/pkg1/direct1.tcl: removeddgp2002-07-041-189/+61
| | | | | | | | * tests/pkg1/pkgIndex.tcl: removed * tests/pkgMkIndex.test: Imported auxilliary files from tests/pkg1 into the test file pkgMkIndex.test itself. Formatting fixes. * unix/Makefile.in: removed tests/pkg/* from `make dist`
* * Fixed [Bug 575857] where this test filedgp2002-07-041-14/+442
| | | | | | expected to be able to write to [file join [testsDirectory] pkg]. Part of the fix was to import several auxilliary files into the test file itself.
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-3/+3
| | | | | | | 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).
* fix to bug 553320vincentdarley2002-05-071-9/+9
|
* Fixes tests when spaces exist in install pathnames.dkf2001-01-121-2/+2
| | | | (Applies patch #103174 which fixes bug #119406.)
* * tests/pkgMkIndex.test: Added tests for pkg_compareExtension.ericm2000-07-191-1/+21
| | | | | | | * library/package.tcl: Enhanced pkg_compareExtension to handle Unixes which tack the version number on to the end of library names (eg, foo.so.1.2); such filenames will be correctly matched. (Patch from Vince Darley).
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/pkg/spacename.tcl:ericm2000-01-281-1/+7
| | | | | | | * tests/pkgMkIndex.test: Tests for fix for bug #2360. * library/package.tcl: Fixed to extract only the first element of the list returned by auto_qualify (bug #2360).
* * tests/pkg/samename.tcl: test file for bug #1983ericm2000-01-271-1/+9
| | | | | | | | * tests/pkgMkIndex.test: * library/package.tcl: Fixed bug #1983, dealing with pkg_mkIndex incorrectly handling situations with two procs by the same name but in different namespaces (ie, foo::baz and bar::baz).
* * tests/pkgMkIndex.test:ericm2000-01-271-13/+17
| | | | | | | | * doc/pkgMkIndex.n: * library/package.tcl: Per rfe #4097, optimized creation of direct load packages to bypass computing the list of commands added by the new package. Also made direct loading the default, and added a -lazy option.
* * tests/tcltest.test:jenn1999-10-191-12/+8
| | | | | | | | | | | * 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]
* Changed the tests to use the testConstraints array that thejenn1999-07-011-2/+2
| | | | test harness uses instead of the old name (testConfig).
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | Fixed bug in pkg.test where defs.tcl was still being used.
* Modified the tests to use the package tcltestjenn1999-06-261-4/+5
|
* Resynced with mainline.rjohnson1999-04-211-1/+1
|
* fixed bugs in tests--bug id 1769hershey1999-04-191-49/+30
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-24/+52
|
* Tests for pkg_mkIndex when input files do "namespace import". BUG 1327welch1999-03-311-1/+8
|
* Added test cases for new pkg_mkIndex -load casewelch1998-11-121-62/+41
|
* Fixed some tests which were failing on the Mac because of path differences. ↵jingham1998-11-101-8/+8
| | | | Added a test to the resource tests to cover the but I fixed. Fixed the stat test commands - the mac files were getting a leading :, which the test commands did not expect
* Overhaul of pkg_mkIndexwelch1998-10-301-59/+18
|
* Added the pkg_mkIndex test suiteescoffon1998-10-171-0/+402