testsuite/example/siteconfig.tcl-2
raw| 1 | # -*- tcl -*- |
| 2 | # disable debug mode if following environment variable is set |
| 3 | if {[info exists env(TESTSUITE_ENABLE_SITECONFIG_DEBUG)]} { |
| 4 | set asked_verbosity normal |
| 5 | } else { |
| 6 | proc someUserProc {} { |
| 7 | puts stderr "someUserProc" |
| 8 | } |
| 9 | |
| 10 | # execute this user-proc to print something to stderr |
| 11 | someUserProc |
| 12 | } |