Index: tests/shells.test =================================================================== diff -u -rce511c8758667fdbbd5a18edd7556b8e5f043f39 -r1d2bdbea2141f159f982e8dde0f9b0a6778a8b71 --- tests/shells.test (.../shells.test) (revision ce511c8758667fdbbd5a18edd7556b8e5f043f39) +++ tests/shells.test (.../shells.test) (revision 1d2bdbea2141f159f982e8dde0f9b0a6778a8b71) @@ -6,8 +6,22 @@ ## for now, we do not have scripted shells for Windows environments ## without a bash-like shell, so ... -if {$tcl_platform(platform) eq "windows"} return; +if {$tcl_platform(platform) eq "windows"} { + return +} +# +# When the compiler flags modify the console output, come of the shell +# tests below will fail. One should introduce more detailed test +# conditions like in tcl-test to deal with the more precisely. For the +# time being, we skip here the full test when nsf was compiled with +# memcount activated. +# +if {$::nsf::config(memcount) == 1} { + return +} + + nx::test case nxsh { set rootDir [file join {*}[lrange [file split [file normalize [info script]]] 0 end-2]] set nxsh [file join $rootDir nxsh] @@ -73,7 +87,7 @@ ? [list exec $nxsh -c << "catch {nx::Object eval {exit 1}}"] "child process exited abnormally" # just 8.6 or newer - if {[info command try] eq ""} return + if {[info command yield] eq ""} return ? [list exec $nxsh -c << [list nx::Object eval {try { exit 6 } \ on break {} {;} \ on return {} {;} \