diff options
author | dgp <dgp@users.sourceforge.net> | 2018-11-01 14:50:31 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-11-01 14:50:31 (GMT) |
commit | ff9bd4ad1cfadc4275e6956e973711ba985e958e (patch) | |
tree | 2869df9f93029901bf67f0f4e1f9318f1e5c219c /tests/tcltest.test | |
parent | ccbbac847ad99b9cbb97ff5183f36c862a303bbe (diff) | |
parent | a0c7ff582a10cc77bd4f95cf577516beeb416ce5 (diff) | |
download | tcl-ff9bd4ad1cfadc4275e6956e973711ba985e958e.zip tcl-ff9bd4ad1cfadc4275e6956e973711ba985e958e.tar.gz tcl-ff9bd4ad1cfadc4275e6956e973711ba985e958e.tar.bz2 |
merge 8.6
Diffstat (limited to 'tests/tcltest.test')
-rw-r--r-- | tests/tcltest.test | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tcltest.test b/tests/tcltest.test index 0bcf342..ca720ee 100644 --- a/tests/tcltest.test +++ b/tests/tcltest.test @@ -908,7 +908,7 @@ removeFile load.tcl # [interpreter] test tcltest-13.1 {interpreter} { - -constraints notValgrind + -constraints notValgrind -setup { #to do: Why is $::tcltest::tcltest being saved and restored here? set old $::tcltest::tcltest @@ -926,7 +926,7 @@ test tcltest-13.1 {interpreter} { # constraint, which involves a call to [exec] that might fail after # "fork" and before "exec", in which case the forked process will not # have a chance to clean itself up before exiting, which causes - # valgrind to issue numerous "still reachable" reports. + # valgrind to issue numerous "still reachable" reports. set ::tcltest::tcltest $old } } @@ -1207,7 +1207,7 @@ test tcltest-21.2 {force a test command failure} { } {1} } -returnCodes 1 - -result {bad option "1": must be -body, -cleanup, -constraints, -errorOutput, -match, -output, -result, -returnCodes, or -setup} + -result {bad option "1": must be -body, -cleanup, -constraints, -errorCode, -errorOutput, -match, -output, -result, -returnCodes, or -setup} } test tcltest-21.3 {test command with setup} { @@ -1300,7 +1300,7 @@ test tcltest-21.7 {test command - bad flag} { } } -returnCodes 1 - -result {bad option "-foobar": must be -body, -cleanup, -constraints, -errorOutput, -match, -output, -result, -returnCodes, or -setup} + -result {bad option "-foobar": must be -body, -cleanup, -constraints, -errorCode, -errorOutput, -match, -output, -result, -returnCodes, or -setup} } # alternate test command format (these are the same as 21.1-21.6, with the @@ -1320,7 +1320,7 @@ test tcltest-21.8 {force a test command failure} \ } \ -returnCodes 1 \ -cleanup {set ::tcltest::currentFailure $fail} \ - -result {bad option "1": must be -body, -cleanup, -constraints, -errorOutput, -match, -output, -result, -returnCodes, or -setup} + -result {bad option "1": must be -body, -cleanup, -constraints, -errorCode, -errorOutput, -match, -output, -result, -returnCodes, or -setup} test tcltest-21.9 {test command with setup} \ -setup {set foo 1} \ |