tclxml-3.2/tests/tclxml/all.tcl
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 package require Tcl 8.4
00018 package require tcltest 2.2
00019 tcltest::Option -parser xml {
00020 Selects the XML parser class.
00021 } AcceptAll parser
00022 tcltest::configure -testdir [file dirname [file normalize [info script]]]
00023 eval tcltest::configure $argv
00024
00025 if {$::tcltest::parser == "xml"} {
00026 foreach parser {libxml2 tclparser} {
00027 puts "\nTesting parser class \"$parser\"\n"
00028 tcltest::configure -parser $parser
00029 tcltest::runAllTests
00030 }
00031 } else {
00032 tcltest::runAllTests
00033 }
00034