summaryrefslogtreecommitdiffstats
path: root/tests/main.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-01 13:50:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-01 13:50:21 (GMT)
commit6941f99c78c730b92f232078e1aa3bad1b84ae1c (patch)
tree817df17f41adec7933eebf87ff8549ec8ee8181b /tests/main.test
parent2f867a435f47f0a0b236c62f60108c2a366e8d86 (diff)
downloadtcl-6941f99c78c730b92f232078e1aa3bad1b84ae1c.zip
tcl-6941f99c78c730b92f232078e1aa3bad1b84ae1c.tar.gz
tcl-6941f99c78c730b92f232078e1aa3bad1b84ae1c.tar.bz2
Add experimental "-nothrow" option to encoding convertfrom|convertto. If compiled with -DTCL_NO_DEPRECATED (meant for Tcl 9.0), -stoponerror is the default for all IO
Diffstat (limited to 'tests/main.test')
-rw-r--r--tests/main.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/main.test b/tests/main.test
index 2d3f63c..1480bc2 100644
--- a/tests/main.test
+++ b/tests/main.test
@@ -5,6 +5,8 @@ if {"::tcltest" ni [namespace children]} {
namespace import -force ::tcltest::*
}
+testConstraint nodep [info exists tcl_precision]
+
namespace eval ::tcl::test::main {
namespace import ::tcltest::*
@@ -143,7 +145,7 @@ namespace eval ::tcl::test::main {
test Tcl_Main-1.8 {
Tcl_Main: startup script - -encoding option - mismatched encodings
} -constraints {
- stdio
+ stdio nodep
} -setup {
set script [makeFile {} script]
file delete $script