]> www.fi.muni.cz Git - evince.git/commitdiff
Use source directory to find files for test EVINCE_0_7_1
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Wed, 10 Jan 2007 16:53:33 +0000 (16:53 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Wed, 10 Jan 2007 16:53:33 +0000 (16:53 +0000)
svn path=/trunk/; revision=2210

test/test2.py

index d85ba8b8fe0ab2ff0a09b3cebc9443b65fe816e3..ac6493adf7d3aae6205edab9bf35b5df2e1dceaa 100755 (executable)
@@ -4,10 +4,11 @@
 
 import os
 os.environ['LANG']='C'
+srcdir = os.environ['srcdir']
 
 from dogtail.procedural import *
 
-run('evince', arguments=' ./test-encrypt.pdf',)
+run('evince', arguments=' '+srcdir+'/test-encrypt.pdf')
 
 # Try an incorrect password first
 focus.dialog('Enter password')