tcltest problem



-----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-----
.



Relevant Pages

  • Re: [opensuse] Software Manager (YaST2) - a question about its behaviour
    ... The action time ago was a kind of summary or dialog, exit or restart (non ... Then it was changed to "exit", ... Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ ...
    (SuSE)
  • script(1) broken on 7.4 - bin/146189 - r207453 fixes
    ... Hash: SHA1 ... scriptwas returning the wrong exit status ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ ...
    (freebsd-hackers)
  • Re: system() exit code
    ... Stephen Morgan wrote: ... | exits with exit code of 123, ... the process termination value or given to exit ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
    (comp.os.linux.development.system)
  • Re: [OT] Does "~" always point to $HOME?
    ... simple script, homedir, might look like this: ... (This doesn't work with python-1.5.1 on an ancient Linux system ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (freebsd-questions)