summaryrefslogtreecommitdiffstats
path: root/test/TEX/TEX.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEX/TEX.py')
-rw-r--r--test/TEX/TEX.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/TEX/TEX.py b/test/TEX/TEX.py
index 99a69fe..58ec40d 100644
--- a/test/TEX/TEX.py
+++ b/test/TEX/TEX.py
@@ -44,7 +44,7 @@ test.write('mytex.py', r"""
import sys
import os
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')
dvi_file = open(base_name+'.dvi', 'wb')
@@ -175,7 +175,7 @@ Run \texttt{latex}, then \texttt{bibtex}, then \texttt{latex} twice again \cite{
test.run(stderr = None)
output_lines = string.split(test.stdout(), '\n')
- reruns = filter(lambda x: string.find(x, 'latex -interaction=nonstopmode rerun.tex') != -1, output_lines)
+ reruns = filter(lambda x: string.find(x, 'latex -interaction=nonstopmode -recorder rerun.tex') != -1, output_lines)
if len(reruns) != 2:
print "Expected 2 latex calls, got %s:" % len(reruns)
print string.join(reruns, '\n')