X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Ftest%2Fruntests.py;h=c2c7c3050e9b98430e2ead0391783e26fda9a9d9;hb=d3c63f97c4fce4e091277ced6c1829473c311231;hp=280141c778e7c615d4332e034999117af238d25e;hpb=4c6f9d039b46a2a5ccd5c2605bef08ecbcf5e728;p=lyx.git diff --git a/src/tex2lyx/test/runtests.py b/src/tex2lyx/test/runtests.py index 280141c778..c2c7c3050e 100755 --- a/src/tex2lyx/test/runtests.py +++ b/src/tex2lyx/test/runtests.py @@ -71,18 +71,19 @@ def main(argv): files = [sys.argv[4+skipcount]] else: files = ['test.ltx', \ + 'algo2e.tex', \ 'box-color-size-space-align.tex', \ 'CJK.tex', \ 'CJKutf8.tex', \ 'test-insets.tex', \ + 'test-insets-basic.tex', \ 'test-memoir.tex', \ 'test-modules.tex', \ 'test-refstyle-theorems.tex', \ 'test-scr.tex', \ 'test-structure.tex', \ 'verbatim.tex', \ - 'XeTeX-polyglossia.tex', \ - 'algo2e.tex'] + 'XeTeX-polyglossia.tex'] errors = [] overwrite = (outputdir == inputdir) @@ -123,6 +124,12 @@ def main(argv): f1 = open(lyxfile1, 'r') f2 = open(lyxfile2, 'r') lines1 = f1.readlines() + i1 = 0 + for linex in lines1: + if linex[:-1] == '\origin ' + inputdir + '/': + lines1[i1] = '\origin ' + outputdir + '/' + "\n" + break + i1 = i1+1 lines2 = f2.readlines() f1.close() f2.close()