diff options
author | dkf <dkf@noemail.net> | 2005-10-12 09:29:20 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2005-10-12 09:29:20 (GMT) |
commit | d61315e50abb4ac20e422d2f2799718cdb5acaf4 (patch) | |
tree | 707e730ffb01d5f4315270f9550f0e3f18379104 /tests/canvPs.test | |
parent | e2f284b95030a2e423b768fc94051f330e431b9b (diff) | |
download | tk-d61315e50abb4ac20e422d2f2799718cdb5acaf4.zip tk-d61315e50abb4ac20e422d2f2799718cdb5acaf4.tar.gz tk-d61315e50abb4ac20e422d2f2799718cdb5acaf4.tar.bz2 |
Arrange the test suite so that it only accesses images in the same directory.
This enables packaging of the test suite as a starkit.
FossilOrigin-Name: 296bf6ab16a1d4e0fcf21105ebcc81b14fdb00b4
Diffstat (limited to 'tests/canvPs.test')
-rw-r--r-- | tests/canvPs.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/canvPs.test b/tests/canvPs.test index f209828..74287d0 100644 --- a/tests/canvPs.test +++ b/tests/canvPs.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: canvPs.test,v 1.10 2004/12/08 03:02:53 dgp Exp $ +# RCS: @(#) $Id: canvPs.test,v 1.11 2005/10/12 09:29:21 dkf Exp $ package require tcltest 2.1 eval tcltest::configure $argv @@ -140,7 +140,7 @@ test canvPs-3.1 {test ps generation with an embedded window} -setup { -dash {4 4} -stipple question -outline red -fill green image create photo logo \ - -file [file join $tk_library images pwrdLogo150.gif] + -file [file join [file dirname [info script]] pwrdLogo150.gif] .c create image 200 50 -image logo -anchor nw entry .c.e -background pink -foreground blue -width 14 |