summaryrefslogtreecommitdiffstats
path: root/tests/imgPNG.test
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2009-01-13 01:46:04 (GMT)
committerpatthoyts <patthoyts@noemail.net>2009-01-13 01:46:04 (GMT)
commit5c140536e578ada27c7436dd2574939b236e9b3a (patch)
tree2bb2e17fa91b47afa565195e5553ba50edf99aa9 /tests/imgPNG.test
parentcd0cd6487c3491d72494c4bcb27574df76c9cc99 (diff)
downloadtk-5c140536e578ada27c7436dd2574939b236e9b3a.zip
tk-5c140536e578ada27c7436dd2574939b236e9b3a.tar.gz
tk-5c140536e578ada27c7436dd2574939b236e9b3a.tar.bz2
Tk tests that create images need to be independent of the interpreter environment.
FossilOrigin-Name: 1cd8c350b2aa943a22045a8141599f169bb17c53
Diffstat (limited to 'tests/imgPNG.test')
-rw-r--r--tests/imgPNG.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/imgPNG.test b/tests/imgPNG.test
index 1d38ce6..7fb2622 100644
--- a/tests/imgPNG.test
+++ b/tests/imgPNG.test
@@ -8,12 +8,13 @@
# Copyright (c) 2008 Donal K. Fellows
# All rights reserved.
#
-# RCS: @(#) $Id: imgPNG.test,v 1.1 2008/12/28 13:08:38 dkf Exp $
+# RCS: @(#) $Id: imgPNG.test,v 1.2 2009/01/13 01:46:06 patthoyts Exp $
package require tcltest 2.2
namespace import ::tcltest::*
eval tcltest::configure $argv
tcltest::loadTestedCommands
+imageInit
namespace eval png {
variable encoded
@@ -62,7 +63,7 @@ test png-1.4 {reading basic images; alpha} -setup {
}
namespace delete png
-image delete {*}[image names]
+imageFinish
cleanupTests
return