As a simple illustration:
$ make test TESTFLAGS="-skip \*"
...
Skipping tests that match: *
...
basic.test
Test file error: class "test_globals" not found in context "::"
while executing
"::itcl::delete class test_globals"
(file "/local/tmp/dgp/fossil/itcl/tests/basic.test" line 394)
body.test
Test file error: class "test_body" not found in context "::"
while executing
"::itcl::delete class test_body"
(file "/local/tmp/dgp/fossil/itcl/tests/body.test" line 152)
chain.test
Test file error: class "test_chain_d" not found in context "::"
while executing
"itcl::delete class test_chain_d test_chain_c test_chain_b test_chain_a"
(file "/local/tmp/dgp/fossil/itcl/tests/chain.test" line 151)
delete.test
Test file error: unknown namespace "test_delete" in namespace delete command
while executing
"namespace delete test_delete"
(file "/local/tmp/dgp/fossil/itcl/tests/delete.test" line 177)
eclasscomponent.test
ensemble.test
Test file error: no such ensemble "test_numbers"
while executing
"::itcl::delete ensemble test_numbers"
(file "/local/tmp/dgp/fossil/itcl/tests/ensemble.test" line 215)
general1.test
Test file error: class "ClassA" not found in context "::"
while executing
"::itcl::delete class ClassA"
(file "/local/tmp/dgp/fossil/itcl/tests/general1.test" line 236)
import.test
info.test
Test file error: class "test_info" not found in context "::"
while executing
"itcl::delete class test_info test_info_base"
(file "/local/tmp/dgp/fossil/itcl/tests/info.test" line 396)
inherit.test
Test file error: class "test_inherit_base1" not found in context "::"
while executing
"::itcl::delete class test_inherit_base1 test_inherit_base2"
(file "/local/tmp/dgp/fossil/itcl/tests/inherit.test" line 568)
interp.test
local.test
Test file error: class "test_local" not found in context "::"
while executing
"itcl::delete class test_local"
(file "/local/tmp/dgp/fossil/itcl/tests/local.test" line 67)
methods.test
Test file error: class "test_args" not found in context "::"
while executing
"itcl::delete class test_args"
(file "/local/tmp/dgp/fossil/itcl/tests/methods.test" line 160)
mkindex.test
namespace.test
protection.test
scope.test
Test file error: unknown namespace "test_scope_ns" in namespace delete command
while executing
"namespace delete test_scope_ns"
(file "/local/tmp/dgp/fossil/itcl/tests/scope.test" line 45)
typeclass.test
typedelegation.test
typefunction.test
typeinfo.test
typeoption.test
typevariable.test
widgetadaptor.test
widgetclass.test
Tests ended at Mon Dec 03 15:12:59 EST 2012
all.tcl: Total 405 Passed 0 Skipped 405 Failed 0
Sourced 25 Test Files.
Test files exiting with errors:
basic.test
body.test
chain.test
delete.test
ensemble.test
general1.test
info.test
inherit.test
local.test
methods.test
scope.test
Ought to be able to do this. Key is to write each
test independent of the others and of code not
contained in tests.
This can be a project for incremental improvement
over time.
Diff: