summaryrefslogtreecommitdiffstats
path: root/tests/tcltests.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcltests.tcl')
-rw-r--r--tests/tcltests.tcl14
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/tcltests.tcl b/tests/tcltests.tcl
index 193ba0a..cc0d6a7 100644
--- a/tests/tcltests.tcl
+++ b/tests/tcltests.tcl
@@ -2,11 +2,19 @@
package require tcltest 2.5
namespace import ::tcltest::*
-testConstraint exec [llength [info commands exec]]
+testConstraint exec [llength [info commands exec]]
+testConstraint deprecated [expr {![tcl::build-info no-deprecate]}]
+testConstraint debug [tcl::build-info debug]
+testConstraint purify [tcl::build-info purify]
+testConstraint debugpurify [
+ expr {
+ ![tcl::build-info memdebug]
+ && [testConstraint debug]
+ && [testConstraint purify]
+ }]
testConstraint fcopy [llength [info commands fcopy]]
testConstraint fileevent [llength [info commands fileevent]]
-testConstraint thread [
- expr {0 == [catch {package require Thread 2.7-}]}]
+testConstraint thread [expr {![catch {package require Thread 2.7-}]}]
testConstraint notValgrind [expr {![testConstraint valgrind]}]