The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 3d4da7fa6161a37b8b8bf0fd4ede83bad74bb5f8 Author: Georg Baum <[email protected]> Date: Sat Dec 15 17:47:09 2012 +0100 Do not call tex2lyx in roundtrip mode for tests diff --git a/src/tex2lyx/test/runtests.py b/src/tex2lyx/test/runtests.py index 358aa4e..406a96e 100755 --- a/src/tex2lyx/test/runtests.py +++ b/src/tex2lyx/test/runtests.py @@ -58,10 +58,12 @@ def main(argv): (base, ext) = os.path.splitext(f) texfile = os.path.join(inputdir, f) if overwrite: + # we are updating the test references, so use roundtrip to allow + # for checking the LyX export as well. cmd = '%s -roundtrip -f %s' % (tex2lyx, texfile) else: lyxfile = os.path.join(outputdir, base + ".lyx") - cmd = '%s -roundtrip -copyfiles -f %s %s' % (tex2lyx, texfile, lyxfile) + cmd = '%s -copyfiles -f %s %s' % (tex2lyx, texfile, lyxfile) proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) proc.wait() err = proc.returncode ----------------------------------------------------------------------- Summary of changes: src/tex2lyx/test/runtests.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) hooks/post-receive -- The LyX Source Repository
