summaryrefslogtreecommitdiffstats
path: root/test/DVIPDF/DVIPDFFLAGS.py
diff options
context:
space:
mode:
authorRobert Managan <managan1@llnl.gov>2009-07-22 04:56:52 (GMT)
committerRobert Managan <managan1@llnl.gov>2009-07-22 04:56:52 (GMT)
commit069ce5a194b250c09667606c2e926747f5f083aa (patch)
treee68c1126b8e261b55abe10e78067c59554330a8d /test/DVIPDF/DVIPDFFLAGS.py
parent9915e5215af5dc08f58cfc91f08aabc1b8ae2cd5 (diff)
downloadSCons-069ce5a194b250c09667606c2e926747f5f083aa.zip
SCons-069ce5a194b250c09667606c2e926747f5f083aa.tar.gz
SCons-069ce5a194b250c09667606c2e926747f5f083aa.tar.bz2
Update tex builder to use the -recorder option.
This was prompted because MikTeX, used on Windows, does not put the same information on files opened into the log file. The -recorder option gives a .fls file that is the same on all platforms. We still use the .log file contents to find warnings and errors that mean we need to rerun latex... Also add message about errors so user does not have to scroll up through all the latex output to find if there was an error. Update all tests to handle the new command line option. Add one more test on grpahics conversion.
Diffstat (limited to 'test/DVIPDF/DVIPDFFLAGS.py')
-rw-r--r--test/DVIPDF/DVIPDFFLAGS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DVIPDF/DVIPDFFLAGS.py b/test/DVIPDF/DVIPDFFLAGS.py
index 3d7bc72..93a435f 100644
--- a/test/DVIPDF/DVIPDFFLAGS.py
+++ b/test/DVIPDF/DVIPDFFLAGS.py
@@ -38,7 +38,7 @@ test.write('mytex.py', r"""
import os
import sys
import getopt
-cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:', [])
+cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:r:', [])
base_name = os.path.splitext(arg[0])[0]
infile = open(arg[0], 'rb')
out_file = open(base_name+'.dvi', 'wb')
@@ -52,7 +52,7 @@ test.write('mylatex.py', r"""
import os
import sys
import getopt
-cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:', [])
+cmd_opts, arg = getopt.getopt(sys.argv[1:], 'i:r:', [])
base_name = os.path.splitext(arg[0])[0]
infile = open(arg[0], 'rb')
out_file = open(base_name+'.dvi', 'wb')