summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-26 23:02:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-26 23:02:29 (GMT)
commitd4140ec31b18515b482006a2d9cac7e2d281f8db (patch)
tree51cc7f9b4420304dd9dae5b402e6dbc9b2337f1f /tests
parent29b5c15de58bfb8f522ebfcde30d4ded5712d4a2 (diff)
downloadtcl-d4140ec31b18515b482006a2d9cac7e2d281f8db.zip
tcl-d4140ec31b18515b482006a2d9cac7e2d281f8db.tar.gz
tcl-d4140ec31b18515b482006a2d9cac7e2d281f8db.tar.bz2
Don't run obj-1.1 test with -DTCL_NO_DEPRECATED
Diffstat (limited to 'tests')
-rw-r--r--tests/obj.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/obj.test b/tests/obj.test
index 4fa8d3a..7563422 100644
--- a/tests/obj.test
+++ b/tests/obj.test
@@ -19,11 +19,13 @@ if {"::tcltest" ni [namespace children]} {
::tcltest::loadTestedCommands
catch [list package require -exact tcl::test [info patchlevel]]
+package require tcltests
+
testConstraint testobj [llength [info commands testobj]]
testConstraint longIs32bit [expr {$tcl_platform(wordSize) == 4}]
testConstraint wideIs64bit [expr {wide(0x8000000000000000) < 0}]
-test obj-1.1 {Tcl_AppendAllObjTypes, and InitTypeTable, Tcl_RegisterObjType} testobj {
+test obj-1.1 {Tcl_AppendAllObjTypes, and InitTypeTable, Tcl_RegisterObjType} {testobj deprecated} {
set r 1
foreach {t} {
bytearray