summaryrefslogtreecommitdiffstats
path: root/test/DVIPDF
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-13 15:44:48 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-13 15:44:48 (GMT)
commitbe76fd27e51c16589d9167e279d4bb3820a8e5c1 (patch)
tree047342f83193101c13413e92c33eceddaa484bc5 /test/DVIPDF
parentcbe2deee53fd4d29f3144ae40715301f29440730 (diff)
parent3b23df1f6b2135739b988a497d98d85dd8a806fa (diff)
downloadSCons-be76fd27e51c16589d9167e279d4bb3820a8e5c1.zip
SCons-be76fd27e51c16589d9167e279d4bb3820a8e5c1.tar.gz
SCons-be76fd27e51c16589d9167e279d4bb3820a8e5c1.tar.bz2
fix mistaken head close
Diffstat (limited to 'test/DVIPDF')
-rw-r--r--test/DVIPDF/DVIPDFFLAGS.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/DVIPDF/DVIPDFFLAGS.py b/test/DVIPDF/DVIPDFFLAGS.py
index 3704d60..30d0e4f 100644
--- a/test/DVIPDF/DVIPDFFLAGS.py
+++ b/test/DVIPDF/DVIPDFFLAGS.py
@@ -100,9 +100,9 @@ test.write('test2.tex', r"""This is a .tex test.
test.run(arguments = '.', stderr = None)
-test.must_match('test1.pdf', " -x\nThis is a .dvi test.\n")
+test.must_match('test1.pdf', " -x\nThis is a .dvi test.\n", mode='r')
-test.must_match('test2.pdf', " -x\nThis is a .tex test.\n")
+test.must_match('test2.pdf', " -x\nThis is a .tex test.\n", mode='r')
@@ -149,21 +149,21 @@ This is the %s LaTeX file.
test.write('bar.tex', tex % 'bar.tex')
- test.run(arguments = 'foo.pdf', stderr = None)
+ test.run(arguments='foo.pdf', stderr=None)
test.must_not_exist(test.workpath('wrapper.out'))
test.must_exist(test.workpath('foo.pdf'))
- test.run(arguments = 'xxx.pdf', stderr = None)
+ test.run(arguments='xxx.pdf', stderr=None)
test.must_not_exist(test.workpath('wrapper.out'))
test.must_not_exist(test.workpath('xxx.dvi'))
- test.run(arguments = 'bar.pdf', stderr = None)
+ test.run(arguments='bar.pdf', stderr=None)
- test.must_match('wrapper.out', "dvipdf bar.dvi bar.pdf\n")
+ test.must_match('wrapper.out', "dvipdf bar.dvi bar.pdf\n", mode='r')
test.must_exist(test.workpath('bar.pdf'))