Op 14-12-2012 19:08, Kornel Benko schreef:
The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 2b66f1b1aca8661d9aca0adca1f5db769c8dc9eb
Author: Kornel Benko <kor...@lyx.org>
Date:   Fri Dec 14 19:07:28 2012 +0100

     Split roundtrip tests (at least on cmake build)
     to show better grained output

@@ -59,7 +62,17 @@ def main(argv):
          else:
              lyxfile = os.path.join(outputdir, base + ".lyx")
              cmd = '%s -roundtrip -copyfiles -f %s %s' % (tex2lyx, texfile, 
lyxfile)
-        if os.system(cmd) != 0:
+        proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, 
stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True)
+        proc.wait()


  5: Traceback (most recent call last):
5: File "C:/Users/Vincent/Documents/LyX/source/gitlyx/src/tex2lyx/test/runtests.py", line 95, in <module>
 5:     main(sys.argv)
5: File "C:/Users/Vincent/Documents/LyX/source/gitlyx/src/tex2lyx/test/runtests.py", line 67, in main 5: proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) 5: File "C:\Users\Vincent\Documents\LyX\build\lyx20x\msvc2010-deps\deps20\Python\lib\subprocess.py", line 637, in __init__
 5:     raise ValueError("close_fds is not supported on Windows "
5: ValueError: close_fds is not supported on Windows platforms if you redirect stdin/stdout/stderr

Vincent

Reply via email to