aboutsummaryrefslogtreecommitdiff
path: root/tests/upvar.test
AgeCommit message (Collapse)AuthorFilesLines
2013-12-21Fix hash table order dependency in various testsSteve Bennett1-2/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-18Don't allow upvar to a higher levelSteve Bennett1-0/+5
i.e. upvar of a global var to a proc var Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-11-18Improvements to variable caching and resolutionSteve Bennett1-0/+20
Cache the correct callframe id for ::global vars Move variable creation out into JimCreateVariable() Fix some cases of upvar/global with ::global vars Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-06Add more dependencies for testsSteve Bennett1-0/+2
Allow tests to run with almost all features disabled
2010-11-22Overhaul unit test frameworkSteve Bennett1-4/+4
Much closer to tcltest now, including constraints. Try to get all appropriate tests running under both Jim and Tcl. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Fix some problems with global and upvarSteve Bennett1-0/+323
Redefining a link with upvar or global gave an error. Trying to access a non-existent var via a link gave the wrong error message. Added Tcl upvar tests Signed-off-by: Steve Bennett <steveb@workware.net.au>