tcltest problem
- From: Andreas Otto <aotto1968@xxxxxxxxxxxxxxxx>
- Date: Thu, 20 Jan 2011 19:51:24 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
something is missing in
tcltest::runAllTests
this command need to return an "exit-status"
because if I "embed" the tcltext into "automake"
the "makefile" need to know is some of the tests
failed -> "Failed > 0"
the best place to return this information would be
the "tcltest::runAllTests"
like:
all.tcl ....
if {![llength $argv]} {
lappend argv --full-testing
}
source [file join [file dirname [info script]] library.tcl]
singleProcess false
## switch to test directory
## test if the start was allready in test directory "make check"
testsDirectory $testdir
## set debugging level
tcltest::verbose {pass body error}
# just run the files specified by the following line
configure -file {init*.test}
if {[tcltest::runAllTests]} {
exit 1
} else {
exit 0
}
mfg, Andreas Otto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNOIQsAAoJEGTcPijNG3/AMdYH/1C+dttlzXOhzGPnp048DV3t
SMC1T8gXyqUH9qgecbXm6u0fVL6EGg9Hz6PX8pKwz5FYF/4zwTLbHUhjCL4UTU67
D+hkVwAYAwNcZqo9fLoMSK5kppWT5gPmhNzjeF9o75DDPRVm4IJnnVf+HUkoOs0M
6+M/8LcM1tDyZqV4GM8Kih2STNlktloN0Zy2qMelJQl2uiZ2wC5IRagkb9PlPJtj
DYtQlnZ6jR4lu/lKWD6l2er/iqzm3b5A+/7xfDIc/LqyFEX7cCqLKWgWk3Q5uQJD
acaJAR+mizM4pg+203laX5A25zBxWixqz7IW2JREe/k+xsjfSow4kk5xMao41Z4=
=NLpa
-----END PGP SIGNATURE-----
.
- Prev by Date: Re: Tk treectrl and vertical alignment
- Next by Date: Re: Tk treectrl and vertical alignment
- Previous by thread: Newbie question about "package require Img"
- Next by thread: change wish icon and create new wish.exe
- Index(es):
Relevant Pages
|