File: tcldomutils.tcl

package info (click to toggle)
tclxml 3.3~svn11-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,392 kB
  • sloc: ansic: 13,292; tcl: 11,656; xml: 3,269; sh: 559; makefile: 15
file content (21 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# tcldomutils.tcl --
#
# This script prepares the testing environment for TclXML.
#
# Copyright (c) 2008 Explain
# http://www.explain.com.au/
# Copyright (c) 2003 Zveno Pty Ltd.
#
# $Id: tclxmlutils.tcl,v 1.2 2003/12/03 20:06:37 balls Exp $

package require tcltest

source [file join [tcltest::workingDirectory] .. testutils.tcl]

eval tcltest::configure $argv

if {[catch {package require dom::libxml2}]} {
    tcltest::testConstraint dom_tcl 1
} else {
    tcltest::testConstraint dom_libxml2 1
}