Index: TODO =================================================================== diff -u -r3b654bd0096ee0be729cbdefa63c0d981a708828 -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- TODO (.../TODO) (revision 3b654bd0096ee0be729cbdefa63c0d981a708828) +++ TODO (.../TODO) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -3581,6 +3581,9 @@ - added MethodDupInternalRep() and FlagDupInternalRep() since they appear to be required in Tcl 8.6b2. +tests: + - added "package prefer latest" to avoid confusions of alpha and beta releases + with install versions TODO: - unknown arg handler must find a way to aviod method deletions or redefinitions Index: library/xotcl/tests/UNIVERSAL.test =================================================================== diff -u -rb07223692b7ed8b9b1cfc81f202f73c066456c7c -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/UNIVERSAL.test (.../UNIVERSAL.test) (revision b07223692b7ed8b9b1cfc81f202f73c066456c7c) +++ library/xotcl/tests/UNIVERSAL.test (.../UNIVERSAL.test) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1,6 +1,6 @@ # -*- Tcl -*- #if {[set ::tcl_platform(platform)] == "windows"} {lappend auto_path .} - +package prefer latest package require XOTcl; namespace import -force xotcl::* set pkgdir [file dir [info script]]/.. lappend auto_path $pkgdir Index: library/xotcl/tests/actiweb.test =================================================================== diff -u -rb07223692b7ed8b9b1cfc81f202f73c066456c7c -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/actiweb.test (.../actiweb.test) (revision b07223692b7ed8b9b1cfc81f202f73c066456c7c) +++ library/xotcl/tests/actiweb.test (.../actiweb.test) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -3,6 +3,7 @@ #if {[set ::tcl_platform(platform)] == "windows"} { # lappend auto_path . #} +package prefer latest package require XOTcl; namespace import -force ::xotcl::* set pkgDir [file dirname [info script]]/.. lappend auto_path $pkgDir Index: library/xotcl/tests/persistence.test =================================================================== diff -u -rb07223692b7ed8b9b1cfc81f202f73c066456c7c -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/persistence.test (.../persistence.test) (revision b07223692b7ed8b9b1cfc81f202f73c066456c7c) +++ library/xotcl/tests/persistence.test (.../persistence.test) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1,5 +1,6 @@ #!../../src/xotclsh # -*- Tcl -*- +package prefer latest package require XOTcl; namespace import -force xotcl::* @ @File { Index: library/xotcl/tests/slottest.xotcl =================================================================== diff -u -r24724ebae83af4e0104b349a2fb582bfc71a7475 -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/slottest.xotcl (.../slottest.xotcl) (revision 24724ebae83af4e0104b349a2fb582bfc71a7475) +++ library/xotcl/tests/slottest.xotcl (.../slottest.xotcl) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1,4 +1,5 @@ # -*- Tcl -*- +package prefer latest package require XOTcl; namespace import -force ::xotcl::* package require nx::test Index: library/xotcl/tests/speedtest.xotcl =================================================================== diff -u -r679a4d086fb9b8a728e0d33f5fa6520f2ce2f954 -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/speedtest.xotcl (.../speedtest.xotcl) (revision 679a4d086fb9b8a728e0d33f5fa6520f2ce2f954) +++ library/xotcl/tests/speedtest.xotcl (.../speedtest.xotcl) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1,5 +1,6 @@ # -*- Tcl -*- #memory trace on +package prefer latest package require XOTcl; namespace import ::xotcl::* package require nx::test; namespace import nx::Test Index: library/xotcl/tests/testo.xotcl =================================================================== diff -u -rf3b7952aabc9e4f9079febd1f5b7f5fb833fd50c -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/testo.xotcl (.../testo.xotcl) (revision f3b7952aabc9e4f9079febd1f5b7f5fb833fd50c) +++ library/xotcl/tests/testo.xotcl (.../testo.xotcl) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -11,6 +11,7 @@ # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # +package prefer latest package require XOTcl; namespace import ::xotcl::* @ @File {description { Index: library/xotcl/tests/testx.xotcl =================================================================== diff -u -r24724ebae83af4e0104b349a2fb582bfc71a7475 -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/testx.xotcl (.../testx.xotcl) (revision 24724ebae83af4e0104b349a2fb582bfc71a7475) +++ library/xotcl/tests/testx.xotcl (.../testx.xotcl) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1,4 +1,5 @@ # -*- Tcl -*- +package prefer latest package require XOTcl; namespace import -force ::xotcl::* proc ::errorCheck {got expected msg} { @@ -3211,6 +3212,7 @@ xotcl::interp create in set ::r [in eval { + package prefer latest package req XOTcl; namespace import ::xotcl::* Object o }] Index: library/xotcl/tests/xoRDF.test =================================================================== diff -u -rb07223692b7ed8b9b1cfc81f202f73c066456c7c -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/xoRDF.test (.../xoRDF.test) (revision b07223692b7ed8b9b1cfc81f202f73c066456c7c) +++ library/xotcl/tests/xoRDF.test (.../xoRDF.test) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1,5 +1,6 @@ # -*- Tcl -*- # +package prefer latest package require XOTcl; namespace import -force xotcl::* lappend auto_path [file dir [info script]]/.. Index: library/xotcl/tests/xocomm.test =================================================================== diff -u -re516122728ddcd7c6d92e43de9cfe497b305bee5 -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- library/xotcl/tests/xocomm.test (.../xocomm.test) (revision e516122728ddcd7c6d92e43de9cfe497b305bee5) +++ library/xotcl/tests/xocomm.test (.../xocomm.test) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1,5 +1,5 @@ # -*- Tcl -*- - +package prefer latest package require XOTcl; namespace import ::xotcl::* lappend auto_path [file dirname [info script]]/../library package require nx::test Index: tests/disposition.test =================================================================== diff -u -r24724ebae83af4e0104b349a2fb582bfc71a7475 -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- tests/disposition.test (.../disposition.test) (revision 24724ebae83af4e0104b349a2fb582bfc71a7475) +++ tests/disposition.test (.../disposition.test) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1367,7 +1367,8 @@ # nx::Test case xotcl-residualargs { - package req XOTcl + package prefer latest + puts stderr "XOTcl loaded: [package req XOTcl]" ? {::xotcl::Class create XD -set x 1} "::XD" #? {c1 eval {info exists :args}} 0 @@ -1416,6 +1417,7 @@ # Test callstack resolution for upvar/uplevel in # parameter-dispatched methods under residualargs() ... # + package prefer latest package req XOTcl xotcl::Class C -proc onTheFly {name args} { Index: tests/parameters.test =================================================================== diff -u -r24724ebae83af4e0104b349a2fb582bfc71a7475 -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- tests/parameters.test (.../parameters.test) (revision 24724ebae83af4e0104b349a2fb582bfc71a7475) +++ tests/parameters.test (.../parameters.test) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1585,6 +1585,7 @@ nx::Test case xotcl-list-notation { nx::Test parameter count 1 + package prefer latest package req XOTcl xotcl::Class create CC -parameter {package_id parameter_declaration user_id} Index: tests/volatile.test =================================================================== diff -u -rdedef29f68094a6083cbc91cb0803c3b1f0c0e68 -r4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51 --- tests/volatile.test (.../volatile.test) (revision dedef29f68094a6083cbc91cb0803c3b1f0c0e68) +++ tests/volatile.test (.../volatile.test) (revision 4e8faf5bc42abdcfc1deb53176ee34cc8a1cbd51) @@ -1,5 +1,6 @@ # -*- Tcl -*- package req nx::test +package prefer latest package req XOTcl #